Open buckettt opened 1 year ago
Caching is typically not used unless requested. Or at leastit shouldn’t be https://github.com/mcneel/compute.rhino3d/blob/master/src/compute.geometry/IO/Schema.cs#L29
Ah I see - what could be accounting for the high memory usage then?
It would probably be best to run a memory analysis tool to try and track down the cause
When doing many (100s-1000s) of calls to rhino compute the response time gradually gets slower and slower with each iteration. I presume that this is attributable to caching and checking cached responses. It would be good to be able to disable the cache presuming when knowing that requests will be unique or numerous.
Found this as related when searching the forums: https://discourse.mcneel.com/t/clearing-rhino-compute-memory-cache-without-restarting-the-local-server/148102
Edit: Just looked at rhino.compute.exe is currently using 38GB of memory and counting compared to 22MB when just started.