Skip to main content

Glassfish 3.1.2 - Native Outofmemoryerror cannot create new thread when using SSL

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
No replies
grassbl8d2
Offline
Joined: 2009-01-22

Hi,

When I use the https listener of Glassfish 3.1.2 and I reach a certain load. I keep on encountering this error.
This happens when the server load is high. It doesn't happen when server load is low. We switched to http listener and it doesn't happen.

Has anyone else encountered this? Would you be able to tell me if there was any bug related to this?

java.lang.OutOfMemoryError: unable to create new native thread
> at java.lang.Thread.start0(Native Method)
> at java.lang.Thread.start(Thread.java:59

Regards