Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disabling Cache #556

Open
buckettt opened this issue Dec 1, 2022 · 3 comments
Open

Disabling Cache #556

buckettt opened this issue Dec 1, 2022 · 3 comments

Comments

@buckettt
Copy link

buckettt commented Dec 1, 2022

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.

@sbaer
Copy link
Member

sbaer commented Dec 18, 2022

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

@buckettt
Copy link
Author

Ah I see - what could be accounting for the high memory usage then?

@sbaer
Copy link
Member

sbaer commented Dec 26, 2022

It would probably be best to run a memory analysis tool to try and track down the cause

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants