-
Notifications
You must be signed in to change notification settings - Fork 4
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
test for memory leaks (brand=phet-io) #50
Comments
Slack dev-public:
|
#14 (review of PhET-iO instrumentation) is a prerequisite to doing memory leak testing. |
The main part of the work in #14 is complete, removing "block" status. @chrisklus are running a 10-minute memory test for this. Initial heap size (after about a minute) is 73.6MB. We'll report back in 10 minutes with the second snapshot. Keep in mind that phetsims/unit-rates#207 may be related to this memory issue. UPDATE: After 10 minutes, the memory is at 77.7MB: @chrisklus and I will briefly review the deltas, but in my opinion, this is either (a) an acceptably low memory leak for publication or (b) not a memory leak at all, just the natural memory expansion during initial use. |
Why are you doing a memory leak test before all PhET-iO related issues have been addressed? And did someone ask you to self-assign? |
Everything seems OK for now, we can run another test after checking off all other PhET-iO issues. Putting on hold until all other phet-io issues have been addressed. UPDATE: I provided a more thorough answer on slack:
|
For comparison, the latest Test results for
This looks fine. PhET-iO appears to add < 4MB of overhead to |
For instrumented sims, memory leak testing must be done separately for the phet-io brand, because according to the How to Instrument document:
The text was updated successfully, but these errors were encountered: