I have a python script that distributes Geometry over a model. As an input I take roughly 4000 surfaces and as an output I get about 2000 class instances where each one has: a bounding box (rhinocommon class), a list with the indexes of some (250 average I’d guess) surfaces and one bool.
Using this component and a similar one at the same time qickly buils up 8 gb of RAM usage.
Is this normal? Where can I read up on how to keep RAM usage low(er)? Do I need to clean up after my functions?