I tried to use the Memory profile of Chrome with your PG. I took one heap snapshot before dragging the gizmo, and one after. Then, comparing the snapshots:
As you can see, the biggest “Size Delta” is for “(compiled code)”, so it’s Chrome internals. It’s only 250Kb, so it’s quite far from the >15Mb delta we can see in your screenshot.
It’s hard for me to make something of the other lines in the report, but if you do the sum of “Size delta” for all the other events, it amounts for ~150Kb.
those are my steps:
1.reload page,F12 and switch to Performance panel
2.wait for more than 2 min (make sure the memory is stable)
3.start Record
4.wait for 1min
5.drag gizmo time and time again,keep 5 seconds
6.stop movement
7.wait for 1min
8.click stop button
I tried a couple more times…
Sometimes it’s the same as yours, sometimes not.
The difference is whether I mouse over the arrows before waiting.
It is possible that some of the extra memory used is due to the material used during hover and drag.
Nothing obvious in gizmo code
I’m not super experienced with Chrome profiling tool.
It looks like from my capture that it might be related to inputs.
Do you see something that might explain this behavior @PolygonalSun ?
I’ll put some time on my calendar and take a look at things. I’ll have to figure out what’s inside of that function call around the time of that spike.