Memory Leak or similar in my isogenic game.

Post your help queries and engine programming questions here

Memory Leak or similar in my isogenic game.

Postby darian311 » Tue Mar 24, 2015 10:33 pm

Regarding Village Makeover: I just opened the game in an incognito tab to make sure extensions were not interfering. CPU usage is still hitting 42% and memory consumption at 335MB. Do you know any tools for isolating javascript that is causing memory leaks?



https://github.com/darian311/VillageMakeover/issues/16
darian311
 
Posts: 11
Joined: Fri Nov 29, 2013 9:53 pm

Re: Memory Leak or similar in my isogenic game.

Postby robaldred » Thu Mar 26, 2015 10:57 am

The Chrome dev tools have very powerful memory & cpu profiling tools built in:

https://developer.chrome.com/devtools/d ... -profiling
https://developer.chrome.com/devtools/d ... -profiling

https://developer.chrome.com/devtools/d ... -profiling

Are you sure you're seeing a memory leak? Does it memory increase steadily & consistently?
Always make sure you remove references to objects when they no longer needed otherwise garbage collection will not clean things up.
I don't work for Irrelon. All comments are my own.
I would strongly encourage anyone building production projects with Isogenic to buy a premium licence, it costs very little and will help towards continued development of the engine. Irrelon have spent thousands of hours developing this wonderful platform with many features found in AAA game engine.
User avatar
robaldred
 
Posts: 243
Joined: Wed Oct 23, 2013 8:09 pm
Location: Manchester, England


Return to Help & Questions

Who is online

Users browsing this forum: Google [Bot] and 1 guest
cron