spinnerbox Posted April 28, 2015 Share Posted April 28, 2015 While developing my game, I refresh the same page many times. Though it doesn't have some complex tasks to do except Timer events, the Firefox process gets too big in allocated memory, around 1GB after 10 or more refreshes of the page. I am sure it is my game since I have it loaded alone in Firefox. What do I miss to do or should I do to clear memory that the game allocates, after each refresh? Is this connected with the browser or is there some Phaser code that is good to be implemented? Link to comment Share on other sites More sharing options...
MichaelD Posted April 28, 2015 Share Posted April 28, 2015 That is mostly the browser, I suspect it has something to do with the cache of media, try to clear cache from settings and see what percentage is allocated back. But yeah 1GB seems a bit overkill. spinnerbox 1 Link to comment Share on other sites More sharing options...
grumpygamer Posted April 28, 2015 Share Posted April 28, 2015 Firefox has been memory hungry for ages... unfortunately. Link to comment Share on other sites More sharing options...
rich Posted April 28, 2015 Share Posted April 28, 2015 It's nothing to do with your game code if you are refreshing the browser each time to test. It's obviously something FF does by design, for who knows what reason. spinnerbox 1 Link to comment Share on other sites More sharing options...
Recommended Posts