acquaman/acquaman — Issue #235: Acquaman takes up a lot of memory when many scan editors are open
Author: AcquamanIssues
Created: 2012-02-19 17:43:25+00:00
State: open

I've been doing some big XS scans using my SDD detectors and also doing lots of small XAS scans using my SDD detectors and after they are finished ACquaman takes up a lot of memory. After doing 17 standard EXAFS scans (-200,10,-30//-30,0.5,40//40,0.05k,15k) here is the memory usage when using 'ps aux':

USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
vespers 27429 4.0 57.0 1618776 1173568 ? Sl Feb18 27:33 VESPERSAcquaman

The main thing is that it's taking up over 50% of the memory which is generally not good. This is not entirely unexpected because with all of those scan editors open, each will have a 2D image of size (2048*[17+140+4291]) 9.1 million pixels. Mutliply that by the size of each pixel in bytes. You have a good chunk of memory taken up by even just one image.

Although not as bad, I did 50 scans of just the edge (-30,0.5,40) and the memory was again pretty high. I didn't think to write it down when I checked though.

I think the time for a bit of a discussion on what to do to keep the memory usage down is important.