Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java.io.IOException: Not enough space at sun.nio.ch.FileChannelImpl.map0(Na

807603Jan 21 2007 — edited Jan 27 2008
Hi

I am getting this error

java.io.IOException: Not enough space
at sun.nio.ch.FileChannelImpl.map0(Native Method)
at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:728)
I ahve a shell script which spawn three jvms

Two jvms have XMX=12288M
and the third XMX=10240M

Basically each jvm has around 12 threads to read in xml files and process them.
The HP machine has around 70 GB RAM.

So, in total the java uses around 36 GB only but still it crashes.


I then change the xml files so that the third jvm does not read any files
but it is just spawned for the sake of it.
Even then it crashes with the same error.


Any idea what can be done to fix this.

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 24 2008
Added on Jan 21 2007
18 comments
686 views