[Building Sakai] java.lang.OutOfMemoryError: unable to create new native thread

nicholas bourgon nicholas.bourgon at hec.ca
Thu Jan 8 11:36:32 PST 2015


Thank you for you answer. I don’t believe increasing the memory will change something. My heap was at 6gb out of 10gb when that happens.

Any other thought?

Nicholas



De : Sam Ottenhoff [mailto:ottenhoff at longsight.com]
Envoyé : 8 janvier 2015 14:33
À : nicholas bourgon
Cc : sakai-dev at collab.sakaiproject.org
Objet : Re: [Building Sakai] java.lang.OutOfMemoryError: unable to create new native thread


I have a problem with my sakai environnement here. It crash sometime with this error : java.lang.OutOfMemoryError: unable to create new native thread.

From what I read on the web I might need to increase that parameter : -XX:ThreadStackSize

I don't think ThreadStackSize is relevant.  I think you can either increase the memory allocated or figure out why your are running out of memory by analyzing a heap dump with Eclipse MAT.



Have you ever had that kind of problem?

Yes, Sakai can run out of memory.


Do you know how to fix or monitor java.lang.OutOfMemoryError: unable to create new native thread?

First you need to figure out why you went OOM by analyzing a heap dump.


Do you think I should increase -XX:ThreadStackSize.


No
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20150108/51fd9614/attachment.html 


More information about the sakai-dev mailing list