phetsims / color-vision

"Color Vision" is an educational simulation in HTML5, by PhET Interactive Simulations.
http://phet.colorado.edu/en/simulation/color-vision
GNU General Public License v3.0
1 stars 7 forks source link

Check for memory leak #92

Closed ariel-phet closed 3 months ago

ariel-phet commented 9 years ago

While at ISTE I noticed that if color vision was up and running for a very long time (over an hour) it would sometimes give an "unresponsive script" warning and freeze in FF. I am curious if there is perhaps a very slow memory leak?

pixelzoom commented 7 years ago

I inadvertently had Color Vision open in Chrome during a meeting today for about 2 hours, on the 2nd screen with all 3 lights on. The sim (and Chrome) were frozen when I returned to it.

Luisav1 commented 3 months ago

I did some memory tests on main both in Chrome and Firefox in Windows 11.

Chrome - Note that there's 10 min intervals from Snapshot 12 and on: image

Firefox: image

Based on these it seems that there's no more memory leak present. Closing.