Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5938

Freeing RAM after executing a function in a Python script

$
0
0

Hi everyone,

I’m running a Python script in Rhino, and I noticed that after executing certain functions, memory usage remains high. Is there a way to free up RAM after a function has finished executing?

I’ve tried using gc.collect(), but it doesn’t seem to have a noticeable effect. Are there any best practices or Rhino-specific methods to properly release memory?

Any insights would be greatly appreciated!

Thanks!

5 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 5938

Trending Articles