Over the last week or so I’ve been having some issues with GH and what seems to be a memory leak. I’ll launch Rhino with a default template, nothing in the file, and then launch Grasshopper and for about 2 minutes my CPU usage spikes for Rhino, hovering in the 5-10% range (8 core/16 thread CPU) before it finally settles down and I can use it without constant stuttering. During this 2 minute CPU spike, my memory usage also spikes and goes from sub 200mb for Rhino alone to over 15GB with GH open. Again this is with an empty Rhino file and no GH files open. Removing all plugins and UserObjects fromg GH doesn’t help. Unloading Grasshopper (GrasshopperUnloadPlugin) helps reduce the memory usage a little, but launching it again (same Rhino session) causes the same CPU penalty and my memory use doubles over what it was before, hovering around 31GB with nothing happening in the GH file.
After the CPU settles down I can use everything fine, but my memory is still stuck at around 15GB or higher for the rest of the session. Exact same thing happens in Rhino WIP once I launch GH from there. I’ve tried uninstalling the WIP to see if it helps, but no luck.
I’m on Windows 10, Rhino 5.12.50810.13095, 08/10/2015, Grasshopper 0.9.0076.
Here’s a video showing the startup process. Original video was right around 2:30, and sped up 8x to get it to 18s.