Project

General

Profile

Actions

Bug #897

closed

MemoryError after doing too many bright / dark references

Added by Anchi Cheng about 14 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Start date:
09/29/2010
Due date:
% Done:

0%

Estimated time:
Affected Version:
Appion/Leginon 2.1.0
Show in known bugs:
No
Workaround:

Description

After doing about 10 different camear configurations, some large, some small.

Leginon logger says Reference acquisition failed: DE12 GetImage did not return array

On Main (defcon1) terminal:

Exception in thread Thread-64:
Traceback (most recent call last):
File "/usr/lib64/python2.4/threading.py", line 442, in bootstrap
self.run()
File "/usr/lib64/python2.4/threading.py", line 422, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/acheng/myami/leginon/corrector.py", line 102, in acquireBright
imagedata = self.acquireReference(type='bright', channel=channel)
File "/home/acheng/myami/leginon/corrector.py", line 200, in acquireReference
self.instrument.ccdcamera.ExposureType = 'normal'
File "/home/acheng/myami/leginon/remotecall.py", line 235, in __setattr

return self._objectservice._call(*args)
File "/home/acheng/myami/leginon/remotecall.py", line 354, in _call
return self.clients[node].send(request)
File "/home/acheng/myami/leginon/datatransport.py", line 62, in send
raise result
MemoryError: <unprintable instance object>

DE12 DirectElectronAPI_with_preexposure_delay,exe looks normal, no error message, nor does Leginon clients.

Actions #1

Updated by Jim Pulokas about 14 years ago

The most likely source of memory error would be on the "main" process,
because that is where the cache is for reference images. But this error
looks like it's coming from the result of a remote call to the camera. We will probably have to monitor the memory with task manager on decamera and try to reproduce. It makes me think there is a memory leak in their camera software, but then we should see it all the time, not just during reference acquisition.

Actions #2

Updated by Anchi Cheng about 14 years ago

Happened again for 512x512 bin 1 center dark image acquisition after a new session with a pair each of 4096x3072 bin 1, 2048x1536 bin 2, 1024x768 bin 4, 512x384 bin 8.

It brought down DE12 server and needed restart.

After restart, the acquisition is fine.

Exception in thread Thread-47:
Traceback (most recent call last):
File "/usr/lib64/python2.4/threading.py", line 442, in bootstrap
self.run()
File "/usr/lib64/python2.4/threading.py", line 422, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/acheng/myami/leginon/corrector.py", line 89, in acquireDark
imagedata = self.acquireReference(type='dark', channel=channel)
File "/home/acheng/myami/leginon/corrector.py", line 200, in acquireReference
self.instrument.ccdcamera.ExposureType = 'normal'
File "/home/acheng/myami/leginon/remotecall.py", line 235, in __setattr

return self._objectservice._call(*args)
File "/home/acheng/myami/leginon/remotecall.py", line 354, in _call
return self.clients[node].send(request)
File "/home/acheng/myami/leginon/datatransport.py", line 62, in send
raise result
OverflowError: long int too large to convert to int

Actions #3

Updated by Jim Pulokas almost 14 years ago

  • Status changed from Assigned to Closed

I believe this was a problem in the DE software which was fixed by an update.

Actions

Also available in: Atom PDF