You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been doing some investigation into memory use of our Rhino runtime when run from the command line and came across what seems to be a memory leak.
Grasshopper models that contain point params do not seem to clean up (part of) their memory footprint.
I am using Rhino 7.37.24107.15001 on Windows 11 Pro, version 22H2 (build: 22621.4317)
Full runnable project for repro with test definitions in the zip attached: SampleRhino.zip
When the model contains, say numbersliders, panels, surface components memory of the document is cleaned up as expected. However when opening and disposing a document with point params about 1KB per param remains for each param after dispose:
This in the attached project the points.gh definition contains 100 points.
When looking at the memory profile at each iteration, what stands out to me is that CentralSettings.PreviewGumballsChanged Event seems to be keeping the point params in memory through its attributes:
Question
Do I need to do anything extra to the document to dispose point parameters?
The text was updated successfully, but these errors were encountered:
I have been doing some investigation into memory use of our Rhino runtime when run from the command line and came across what seems to be a memory leak.
Grasshopper models that contain point params do not seem to clean up (part of) their memory footprint.
I am using Rhino
7.37.24107.15001
onWindows 11 Pro, version 22H2 (build: 22621.4317)
I run the following sequence in a loop:
Full runnable project for repro with test definitions in the zip attached: SampleRhino.zip
When the model contains, say numbersliders, panels, surface components memory of the document is cleaned up as expected. However when opening and disposing a document with point params about 1KB per param remains for each param after dispose:
This in the attached project the
points.gh
definition contains 100 points.When looking at the memory profile at each iteration, what stands out to me is that CentralSettings.PreviewGumballsChanged Event seems to be keeping the point params in memory through its attributes:
Question
Do I need to do anything extra to the document to dispose point parameters?
The text was updated successfully, but these errors were encountered: