Hi David, Python only reclaims memory when it runs "garbage collection" which, depending on the structure of your script, may or may not run in the context of your loop, Try putting this after you close/delete markers and see if it helps: import gc gc.collect() --Eric Eric Pettersen UCSF Computer Graphics Lab
On Feb 21, 2024, at 4:26 PM, David Flesher via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:
Hi ChimeraX team,
I've been writing a script to run within ChimeraX and, as I continue to run the script, the system memory quickly fills up to my system maximum (32 GB). Is there a way to refresh/dump the memory within ChimeraX? My script creates markers but deletes them with every iteration, which I thought would keep memory in check. Please let me know if you have any advice, thank you!
Best regards,
:David _______________________________________________ ChimeraX-users mailing list -- chimerax-users@cgl.ucsf.edu To unsubscribe send an email to chimerax-users-leave@cgl.ucsf.edu Archives: https://mail.cgl.ucsf.edu/mailman/archives/list/chimerax-users@cgl.ucsf.edu/