To those who may be able to help...
Not sure if this enough info, but can anyone tell me what the following error generated after crashing out of ImageJ says about what happened. My understanding is the process was out of memory. In brief i'm taking an image using the ScionJ capture (or the JNIAkiz) between scan steps of a microscope stage controlled usng the run external program plugin and a command line serial port communicator. The whole macro runs fine for most of the time on 3x3, 5x5 and sometimes 7x7. At 10x10 ImageJ crashes out but the number of frames accumulated may only be small and even on a 3x3 or single frame capture occasionally I experience a crash. Is it that there are memory buffers that are not being cleared even when captured frames have been run("Closed"). Obviously i'd like to do much larger area scans but this is limiting me so if anyone can help resolve this memory issue i'd very much appreciate it. Regards Mark # # An unexpected error has been detected by HotSpot Virtual Machine: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x03266a94, pid=3192, tid=2788 # # Java VM: Java HotSpot(TM) Client VM (1.5.0-rc-b63 mixed mode, sharing) # Problematic frame: # C [scionfg.dll+0x6a94] # --------------- T H R E A D --------------- Current thread (0x02e5f618): JavaThread "AWT-EventQueue-0" [_thread_in_native, id=2788] siginfo: ExceptionCode=0xc0000005, reading address 0x0000000c Registers: EAX=0x00000000, EBX=0x26adcd58, ECX=0x02e6cf60, EDX=0x26add840 ESP=0x031af960, EBP=0x031af97c, ESI=0x26adcd58, EDI=0x02e5f618 EIP=0x03266a94, EFLAGS=0x00010216 Top of Stack: (sp=0x031af960) 0x031af960: 03242a45 00000000 00000001 00000000 0x031af970: 3ff40000 eb851eb8 bfceb851 031af9b0 0x031af980: 00a7826f 02e5f6d4 031af9c8 00000018 0x031af990: 0000007d 031af994 00000000 031af9c8 0x031af9a0: 26add840 00000000 26adcd58 031af9c0 0x031af9b0: 031af9e8 00a729cf 00000000 00a76449 0x031af9c0: 0000007d 00000018 0931ee20 031af9cc 0x031af9d0: 26b2d0a3 031af9f8 26b2ff48 00000000 Instructions: (pc=0x03266a94) 0x03266a84: 59 c3 90 90 90 90 90 90 90 90 90 90 8b 44 24 04 0x03266a94: 8b 48 0c 49 83 f9 05 0f 87 93 00 00 00 ff 24 8d Stack: [0x03170000,0x031b0000), sp=0x031af960, free space=254k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [scionfg.dll+0x6a94] j JNIAkiz.setBrightContrast(II)I+0 j GrabVideo_$CustomWindow.adjustmentValueChanged(Ljava/awt/event/AdjustmentEvent;)V+83 j java.awt.Scrollbar.processAdjustmentEvent(Ljava/awt/event/AdjustmentEvent;)V+11 j java.awt.Scrollbar.processEvent(Ljava/awt/AWTEvent;)V+12 J java.awt.Component.dispatchEventImpl(Ljava/awt/AWTEvent;)V J java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V J java.awt.EventDispatchThread.pumpOneEventForHierarchy(ILjava/awt/Component;)Z v ~RuntimeStub::alignment_frame_return Runtime1 stub j java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+26 j java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4 j java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3 j java.awt.EventDispatchThread.run()V+9 v ~StubRoutines::call_stub V [jvm.dll+0x8168d] V [jvm.dll+0xd4179] V [jvm.dll+0x8155e] V [jvm.dll+0x812bb] V [jvm.dll+0x9bbe9] V [jvm.dll+0xfe77f] V [jvm.dll+0xfe74d] C [MSVCRT.dll+0x2a3b0] C [kernel32.dll+0xb50b] Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) j JNIAkiz.setBrightContrast(II)I+0 j GrabVideo_$CustomWindow.adjustmentValueChanged(Ljava/awt/event/AdjustmentEvent;)V+83 j java.awt.Scrollbar.processAdjustmentEvent(Ljava/awt/event/AdjustmentEvent;)V+11 j java.awt.Scrollbar.processEvent(Ljava/awt/AWTEvent;)V+12 J java.awt.Component.dispatchEventImpl(Ljava/awt/AWTEvent;)V J java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V J java.awt.EventDispatchThread.pumpOneEventForHierarchy(ILjava/awt/Component;)Z v ~RuntimeStub::alignment_frame_return Runtime1 stub j java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+26 j java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4 j java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3 j java.awt.EventDispatchThread.run()V+9 v ~StubRoutines::call_stub --------------- P R O C E S S --------------- Java Threads: ( => current thread ) 0x02e52920 JavaThread "GrabVideo " [_thread_in_Java, id=2800] 0x00355978 JavaThread "DestroyJavaVM" [_thread_blocked, id=3848] =>0x02e5f618 JavaThread "AWT-EventQueue-0" [_thread_in_native, id=2788] 0x02e39918 JavaThread "AWT-Windows" daemon [_thread_in_native, id=1944] 0x02e394e8 JavaThread "AWT-Shutdown" [_thread_blocked, id=3640] 0x02e383a0 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=3796] 0x00a0b668 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=792] 0x00a0a370 JavaThread "CompilerThread0" daemon [_thread_blocked, id=3768] 0x00a09558 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=440] 0x009e2a18 JavaThread "Finalizer" daemon [_thread_blocked, id=2552] 0x00a06a90 JavaThread "Reference Handler" daemon [_thread_blocked, id=920] Other Threads: 0x0035e7e8 VMThread [id=3204] 0x00a0c9a8 WatcherThread [id=2192] VM state:not at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: None -- Dr Mark Osborne Royal Society Research Fellow Department of Chemistry School of Life Sciences University of Sussex Falmer Brighton BN1 9QJ Office +44 (0)1273 678328 Lab +44 (0)1273 873182 Fax +44 (0)1273 677196 Email [hidden email] Web www.sussex.ac.uk/Users/kaf18 Profile http://myprofile.cos.com/osborne33 |
Free forum by Nabble | Edit this page |