Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have a solaris 9 container built from a physical server using flarcreate. Everything seems fine, except when trying to trying to run any "java -server" process it fails with the following error

This is on a Sunfire T1000 machine running Solaris 10 10/09 s10s_u8wos_08a SPARC Running jdk1.5.0_15

Exception java.lang.OutOfMemoryError: requested -4 bytes for size_t in /BUILD_AREA/jdk1.5.0_15/hotspot/src/os/solaris/vm/os_solaris.cpp. Out of swap space?

As far as I can tell I'm not actually out of swap space.

Running java in client mode works without a problem.

Googles only suggestion is related to x86.

Any suggestions?

Thanks.

share|improve this question

2 Answers 2

I find re-deploying java solves such errors.

share|improve this answer

This is due to the update level being different from the initial system that the Solaris system was creatd on the patch level support on the solaris 10 system that you are hosting the containers on. This was fixed in a patch from Sun, but you need a support contract to get it. I've burned a few hours into getting this issue fixed, but don't have a solution without a support contract.

Let me know how if works for you.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.