Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

System.ExecutableAndDlls using a lot of ram on iOS

Discussion in 'Editor & General Support' started by Mahgo, Dec 15, 2017.

  1. Mahgo

    Mahgo

    Joined:
    Dec 4, 2014
    Posts:
    52
    On iOS, using memory profiling, I've found out that System.ExecutableAndDlls is using a lot of memory (133MB). Is there a way for me to work out what is causing this? I'm using Unity 2017.2.0 and IL2CPP.

    Screen Shot 2017-12-15 at 2.55.07 pm.png
     
  2. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    If you do a Google search for this, you'll find several suggestions!
     
  3. Mahgo

    Mahgo

    Joined:
    Dec 4, 2014
    Posts:
    52
    Hi Jeff,

    I've already done this but have not found anything regarding working out what is using this memory and how to reduce it.
     
  4. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    I used "Unity System.ExecutableAndDlls" for my search and it returned a few suggestions.
     
  5. Mahgo

    Mahgo

    Joined:
    Dec 4, 2014
    Posts:
    52
    I have already done this and have not found any results that have been useful. Hence why I posted on this forum.
     
  6. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    So you tried "Strip Assemblies" with no reduction in size? Also, most of the posts seem to suggest that this behavior is expected, and the OS is essentially reserving memory. Is this memory usage causing problems for your app?
     
  7. Mahgo

    Mahgo

    Joined:
    Dec 4, 2014
    Posts:
    52
    "Strip Assemblies" is a Mono option, not an IL2CPP option, as far as I know. And "Strip Engine Code" has been ticked this whole time.
     
  8. Mahgo

    Mahgo

    Joined:
    Dec 4, 2014
    Posts:
    52
    Did you have any more ideas?
     
  9. AlekseyLaz

    AlekseyLaz

    Joined:
    Aug 16, 2016
    Posts:
    7
    I have the same issue with 2018.2.20f1.
    Any actual help please?
     
  10. vijayv03

    vijayv03

    Joined:
    Dec 16, 2016
    Posts:
    15
    I have the same issue in unity 2019.3.7 where System.ExecutableAndDlls Is using nearly 250 mb. when I stripped the project of all the code and dlls, it dropped to 90 mb. Still trying to isolate the issue.