[Insight-users] Crash when allocating large arrays with Java bindings.

sumit shah sshah at mednet.ucla.edu
Tue Aug 16 02:54:35 EDT 2005


Dear Insight Users:

I am compiling the latest from CVS ITK and CableSwig with Visual  
Studio 2003 on XP with the Java (1.5) bindings.  I use  
SwigExtras.newFArray. to allocate an array in which I use in  
conjunction with ImportImageFilter to create an Itk Image.  For large  
images, around 512x512x400 images it crashes on the newFArray call.   
I have fiddled a little with the compile settings e.g. StackSize, /Zm  
etc to no effect.  The stack trace that results is shown at the end  
of this message.  Does anybody know a solution to this?  On the same  
machine but with Linux (Ubuntu 5.04) and compiling with gcc it works  
perfectly without crashing (though significantly slower).  Please let  
me know if you need more information.

Thanks,
Sumit

#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  Internal Error (0xe06d7363), pid=932, tid=2428
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_04-b05 mixed mode)
# Problematic frame:
# C  [kernel32.dll+0x1eb33]
#
# An error report file with more information is saved as  
hs_err_pid932.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#

Process finished with exit code 1



More information about the Insight-users mailing list