1 Reply Latest reply on Jul 27, 2014 2:02 AM by Mike Gaffney

    Standalone.sh throws java.lang.OutOfMemoryError UNLESS I run as root

    Mike Gaffney Newbie



      I've got a newbie question.  I've installed JBoss 1.7 and Java 1.7.0_65 (openJDK) on a Linux Centos 6.4 box.  I'm trying to start JBoss but unless I run standalone.sh as root, it throws "java.lang.outOfMemoryError: Unable to create new native thread".  I'm guessing it must be a permissions problem.  Even though I installed both as root, I did a chown on everything to User:User (which is what I'm trying to run as).

      Is there anything in particular I should look at?   It's not the Java settings because like I said, I can kick it off as root.  I suspect the OutOfMemory error is misleading and it really isn't able to run something as user User.