Thursday February 02, 2006 The other day, I was using the newly released Java Studio Creator 2 to create a web application for my team on Sun Blade Workstation. I was simply creating a prototype, so that my team can see how the GUI will look and feel and navigate.
After creating five simple pages, I was running into problems with Mozilla not starting when I tried to deploy the application. It was exhibiting some odd behavior; sometimes Mozilla came up, other times it did not. I then used a browser on my PC to access the application - it failed. Looking through server.log, I found out that I was running into
java.io.IOException: Not enough space
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.(UNIXProcess.java:53)
What do you mean that I don't have enough space? I have more than 40GB of space available...! Memory was not an issue either, so I was stuck.
Then a help from heaven (thanks Steve!) came. He told me to check my free swap space on the system. Sure enough, when I added 1 GB of additional swap space, the problem went away!
To temporarily add a swap space to your system, you do:
% su Password: # swap -l swapfile dev swaplo blocks free /dev/dsk/c0t0d0s1 136,9 16 1052624 149504 # mkfile 250m /var/moreswap # swap -a /var/moreswap # swap -l swapfile dev swaplo blocks free /dev/dsk/c0t0d0s1 136,9 16 1052624 137680 /var/moreswap - 16 511984 511984
If you see a problem similar to this, it is worth trying this to see if it helps.
Posted by naoko
( Feb 02 2006, 04:02:00 PM PST )
Permalink
Comments [3]
Today's Page Hits: 44