- Home /
How do I get Unity Web Player to clean up memory leaks?
I noticed that every time I restart my Unity web app, the memory use (according to Activity Monitor) increases by 40mb-200mb. Our application will cause users to load different Unity viewers at different times, so we are concerned this cumulative memory leaking will cause users to quickly hit memory limits.
I noticed that even the sample Unity application http://unity3d.com/gallery/live-demos/tropical-paradise leaks an additional 40mb every time the page is refreshed, so I don't think it's something specific we're doing.
Is there a way of forcing the Web Player plugin to clean up the unused memory or otherwise get around the problem in a way that is transparent to the user?
Up for this question, is there something new since it has been asked ?
Thanks
Answer by Maf · May 09, 2014 at 08:23 PM
Spotted this question and was intrigued, but after some testing with Tropical Paradise in both Firefox and Chrome, I was unable to replicate the issue. I can only assume a browser, Flash or Unity patch in the interim has fixed this, so tistik/ripol and any one else interested can rest assured.