Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Wonderwood Games · Aug 15, 2013 at 04:31 PM · iosmemoryprofiler

System.ExecutableAndDlls - Very large memory consumption

Hello Community,

We are suffering with large memory consumption in our game and we found in the profiler process called System.ExecutableAndDlls that takes 93.0 MB - what is it?

We've get this info from the profiler connected to the iPhone 4S so it is real memory consumption. We need make work our game on iPod touch 4 (256MB RAM - available maximum 130-140 MB). Now it takes 230MB in game. Assets take 130 MB and "Other" takes 113 MB. We can make all in-game assets take about 70-80 MB, but we don't know what to do with "Other" -> "System.ExecutableAndDlls".

We've tested that pure Unity on iOS consumes about 25MB (it's ok).

Also we use in the game this plugs: Prime31 - Flurry Prime31 - Social Networking Prime31 - In-App Purchase Prime31 - Etcetera NGUI NDATA Simple SQL

Name: Screen Shot 2013-08-15 at 17.59.48.png Views: 18 Size: 47.2 KB

We've created an empty project ant it consumes 25-27MB. After that we've tried to add all this plugins to the empty project and make them work and the memory consumption rised to 35MB - it is still much less than what you can see on the screenshot.

We use Unity 4.2

Thank you in advance!

alt text

screen shot 2013-08-15 at 17.59.48.png (48.3 kB)
Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Shrikky23 · Dec 19, 2013 at 07:14 AM 0
Share

I am facing the same problem, it goes to 180 $$anonymous$$B please help

avatar image ChrTellefsen · Jan 04, 2014 at 10:17 PM 0
Share

I have currently got 133$$anonymous$$B for System.ExecutableAndDlls on our game on Unity 4.3.3b1... I cannot see why anything should eat up such an enormous amount of memory on iOS? This is way more than all our textures, audio, animations and other things put together.

Cheers, Christian Tellefsen CTO $$anonymous$$egapop Games

4 Replies

· Add your reply
  • Sort: 
avatar image
2

Answer by Mantas-Puida · Jan 24, 2014 at 09:48 AM

Memory reported under "System.ExecutableAndDlls" is read-only memory, therefore OS might discard these pages at need and later reload from the file system. So it makes little memory pressure and it rarely directly contributes to OS decision to kill application. Also some of these pages might be shared with other application (which are using the same frameworks). Of course it's still good idea to keep it smaller (for faster startup times) and you can do it by enabling managed code stripping in Player Settings.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by JuhaRMD · Sep 03, 2013 at 01:15 PM

It's the main executable with all scripts and script DLLs included. Have you tried enabling Stripping in the Player Settings (you should find it under the Optimization category)?

Check out "Optimizing the Size of the Built iOS Player" page in the documentation: http://docs.unity3d.com/Documentation/Manual/iphone-playerSizeOptimization.html

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by RMGK · Oct 18, 2014 at 12:42 AM

"Strip Assemblies" in player build settings. Dropped my System.ExecutableAndDlls from 92 to 53mb in an empty project with a few plugins.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by mhT3d · Aug 10, 2015 at 04:35 AM

The memory reported under "System.ExecutableAndDlls" is read-only memory and this means that the application cannot change it or write it, but its main role is to accelerate the execution of the application. And because it is read-only pages OS might discard these pages at need (if there is not enough free memory pages) and later (when needed) reload from the storage. So it does not make a big memory pressure and it rarely directly contributes to OS decision to kill application (because OS can discard it in any time). Also try to calculate game's memory usage outside the profiler, in my game System.ExecuteableAndDlls was taking 80 mb, but in windows tasks manager it only used 45 mb.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

21 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Memory usage for the simplest iOS/Android app grows over time, says Unity 3.5 Profiler 0 Answers

Textures/Atlases and memory management 0 Answers

Object references listed in profiler but not in hierarchy. 1 Answer

iOS Profiler: What to look for 0 Answers

unexpected massive memory allocation on iOS while loading maps 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges