On Tue, 2012-12-18 at 04:57 +0100, Shawn Heisey wrote:
> java.lang.OutOfMemoryError: unable to create new native thread 
>       at java.lang.Thread.start0(Native Method)
>       at java.lang.Thread.start(Thread.java:691)
[...]
> 3) Built and run with oracle jdk 1.7.0_09 on CentOS 6 x64
[...]
> Since rebooting and upgrading to 1.7.0_10, I have not seen any further
> OOM problems despite pounding on everything repeatedly.  Has anyone
> else seen anything similar?

Yes, also under CentOS, but with Java 1.6. The cause was a low default
limit for user-space threads (1024 AFAIR). Try calling 'ulimit -a' and
check that "max user processes" is sufficiently large.

If the limit is fairly low, your reboot might explain why switching to
1.7.0_10 seemed to be the solution, as you probably had less running
applications after reboot.

- Toke Eskildsen


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to