newDoubleArray failed

hi,

I am using a DLL that uses native code to perform some matrix calculations. when I try to create a matrix of 4000x4000 I got the following error "newDoubleArray.new(6622980) failed" . Since it is a DLL I cannot intervene. I know it is a memory problem but Xmx500M did not work because I deploy the application using Tomcat. When I do not use Tomcat and run it from console with Xmx500M it works fine.

best regards,

[438 byte] By [recepcolaka] at [2007-10-3 1:00:07]
# 1
ok, solved the problem.increased memory of tomcat by definin a new environment variable named "JAVA_OPTS" and defining its value as "Xms500M".best,
recepcolaka at 2007-7-14 17:56:01 > top of Java-index,Java HotSpot Virtual Machine,Specifications...