phetsims / energy-skate-park-basics

"Energy Skate Park: Basics" is an educational simulation in HTML5, by PhET Interactive Simulations.
http://phet.colorado.edu/en/simulation/energy-skate-park-basics
GNU General Public License v3.0
2 stars 9 forks source link

Memory leak #445

Closed samreid closed 5 years ago

samreid commented 5 years ago

Running http://localhost/energy-skate-park-basics/energy-skate-park-basics_en.html?brand=phet-io&postMessageOnLoad&postMessageOnError&postMessageOnBeforeUnload&memoryLimit=1000&phetioStandalone&fuzz&screens=3 I received an 862MB heap. May be isolated to PhET-iO. Not sure if I should hold off work until @jessegreenberg is done merging the sims. @jessegreenberg can you comment?

samreid commented 5 years ago

On hold until https://github.com/phetsims/energy-skate-park/issues/6 is complete

samreid commented 5 years ago

http://localhost/energy-skate-park/energy-skate-park_en.html?brand=phet-io&phetioStandalone&phetioEmitHighFrequencyEvents=false&ea&fuzz after 60 seconds:

image

samreid commented 5 years ago

I identified several different leaks and it seems to have repaired the issue. There are several minutes between the lower entries:

image

Committing...

samreid commented 5 years ago

Fixed, and fuzzing is going well, no lint errors reported. Closing.