-
Notifications
You must be signed in to change notification settings - Fork 13
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
How to manage memory? #31
Comments
The memory management is the same as regular Python so you should not have to care about about deleting/destroying objects. The fact that And the The master branch contains the fixes. |
Memory management still does not quite work with
CloudCompare crashes at the last line because |
the plugin is still very experimental so not all things are not going to work flawlessly. This case may be fixable In the meantime, you can just remove that |
Fixing this required a bit more work that I initially thought, but it should work now. I expect some other similar case to exist |
I have a simple script which loads a bunch of files using
pycc.FileIOFilter.LoadFromFile
, but I cannot figure out how to destroy theccHObject
s that it returns. Thus, the loaded files are simply leaked and CloudCompare eventually crashes because it runs out of memory.I also cannot figure out how to remove objects that have been added to the DB, or how (or if) I should destroy the clouds returned from methods like
resampleCloudSpatially
,partialClone
, etc.I think there needs to be a section on memory management in the documentation, and perhaps some additional methods added if necessary. I don't think it's possible to correctly manage memory right now.
The text was updated successfully, but these errors were encountered: