System.ExecutableAndDlls using a lot of ram on iOS

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.

If you do a Google search for this, you’ll find several suggestions!

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.

I used “Unity System.ExecutableAndDlls” for my search and it returned a few suggestions.

I have already done this and have not found any results that have been useful. Hence why I posted on this forum.

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?

“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.

Did you have any more ideas?

I have the same issue with 2018.2.20f1.
Any actual help please?

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.

1 Like