I have a project which Im working on which uses limited resources but still gets ram out of bounds error. I have set the limit of RAM to be 256 because anything more than that makes the app to crash for random reasons ( please verify if it’s possible to raise to 512 or even higher ).
Are there any tools which I can check how much ram my project is actually using and how can I compare it to what the maximum needs to be?
I am using SRDebugger in my project to check the ram usage in my project. It says 110mb tops but at random points I get a memory out of bounds error and that’s that.
I’m using Unity 5.4.3
This video walks you through profiling webgl apps and choosing an appropriate memory target:
You should probably also start thinking about upgrading Unity, as I’ve found that WebGL has come a long ways since 5.4.
I know 5.6 has web assembly but it’s still buggy, doesn’t make much difference. I haven’t seen the updates of 5.5 tbh, I’ll have a look.
This video was really helpful, the solution was something much simpler which I hadn’t noticed: the settings are embedded in the exported index.html which I wasn’t using… facepalm