phetsims/collision-lab

Memory leak testing

Closed this issue · 1 comments

For #146, test for memory leaks on a built version. This sim does very little dynamic memory allocation, so I'm not anticipating problems.

Did the test on a locally built version with ?fuzz only.

Results:

Minutes Heap Size (MB)
0 35.6
5 42.6
10 44.0
15 44.5
20 44.8
25 45.2
30 45.7

The memory footprint is smaller than expected (much less than vector addition!) for a 4 screen sim! There are also no signs of memory leaks!

Closing.