Opened 6 years ago
Last modified 6 years ago
#2555 closed defect
Memory leak fitting volume in volume — at Version 2
| Reported by: | Owned by: | Tom Goddard | |
|---|---|---|---|
| Priority: | moderate | Milestone: | |
| Component: | Volume Data | Version: | |
| Keywords: | Cc: | ||
| Blocked By: | Blocking: | ||
| Notify when closed: | Platform: | all | |
| Project: | ChimeraX |
Description (last modified by )
Begin forwarded message:
From: Andrei Istrate
Subject: ChimeraX memory problem
Date: November 8, 2019 at 6:06:58 AM PST
To: Tom Goddard
Dear Tom,
I am trying to ChimeraX for superimposing a large number of small maps and ran into a memory problem.
It seems that after each fitting an object is created for the results. This object seems to not be deleted after calling “close session” which leads to huge memory consumption after a large number of operations.
I have attached a toy script which can reproduce the problem. Could you please point me to a solution to this problem?
I was previously using chimera for this and had no problems.
Best wishes,
Andrei
—
Andrei Istrate, EMBL-EBI, Hinxton, UK
Scientific Programmer
Change History (3)
by , 6 years ago
| Attachment: | test_chimerax.zip added |
|---|
comment:1 by , 6 years ago
comment:2 by , 6 years ago
| Description: | modified (diff) |
|---|
It seems to increase 3 Mbytes per iteration with your small 0.5 Mbyte map example, but increases much faster ~200 Mbytes per iteration when I use 200 Mbyte map files. So apparently the fitting somehow holds onto a copy of all the data even after close. If I comment out the fitmap call, so only the two maps are opened then closed, then the memory leak does not occur (although some much smaller leak of < 0.5 Mbyte per iteration is visible).