Memory blog post

Hi,
I just wanted to point out that we published a blog post about memory in Unity WebGL.
Let us know if you have questions.

Thanks,
Marco

Great post thanks for sharing! Will have to try caching asset bundles again in 5.4.2!

Here a new memory blog post specifically about the Unity Heap.

just read it this morning. keep 'em coming.

BTW - its a bit confusing to discuss “managed heap” as all the code is converted to c++. or is IL2CPP still considered a managed environment ?

Also - can you recommend any 3rd party tools (browser or others) to monitor the game’s performance (and memory) when running in the browser?

Lastly- do you have any updates on the “Memory Profiler” project and how’s it coming along ?

Yes, IL2CPP is still a managed environment. We’re effectively using the C++ compiler to generate machine code for a target platform, but all of the managed types still exist, and the heap/stack memory allocation work the same as they do in C# that is run on .NET or Mono.

1 Like

I would recommend to use the browser developer tools. Firefox and Chrome are really good as well as Edge on Windows.

Not really, the good thing though is that it’s open source so you can see all commits on bit bucket.