-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memory Leak #76
Comments
This seems important to resolve sooner rather than later |
This is in phetsims/qa#789 as well |
The memory leak in phetsims/scenery#1356 has been fixed, but that leak was first introdudced after this issue was first reported. There may still be a memory leak in this sim. The patch to fix the memory leak in AnimatedPanZoomListener is phetsims/scenery@6d4ecc6 for a center-and-variability-1.0 branch of scenery. |
The memory leak seems worse in phetsims/qa#795. |
Thanks, I pushed a fix for the memory leak. There may be others but that was certainly one. Maybe we should cherry-pick it before release since running the sim for 30 minutes under normal usage seems like it might leak 100MB (if this rate keeps up). |
The original fixes had erroneous parts. @chrisklus and I reverted that and applied the correct fix, which is ready for cherry-picking. |
The change above was cherry-picked for 1.0 publication. This issue may be ready to close, but for now I'm going to move to 1.1 milestone so a more careful delta comparison is completed before closing. |
There is another memory leak in center-and-variability/js/common/view/CAVPlotNode.ts Lines 105 to 124 in e0611ff
|
@samreid and I added in the missing delete for the dots in the commit above. We tested by printing the map size and it's working as expected, marking for cherry-pick. After making the next for RC the maintenance release, we think it would be good to have QA do 5-10 min of spot check testing (normal sim use/testing) to sign off that this is good to go. |
@samreid and I deployed these changes for version 1.0.1, closing. |
For phetsims/qa#781. Seen on Win 11 Chrome.
The memory footprint for this sim seems small, but there is a noticeable memory leak. This test was don on the PhET brand sim, with memory snapshots happening one minute apart.
The text was updated successfully, but these errors were encountered: