Tomcat does not get enough memory

view full story

http://unix.stackexchange.com – i'm trying to setup a jira instance on my vServer. I've got min. 1 GB ram and max. 2 GB ram. It was runing on my friends Server with only 512 MB ram. The first error was: java.lang.OutOfMemoryError: unable to create new native thread I fixed this with ulimit -u 2048 After that, the error: Java HotSpot(TM) 64-Bit Server VM warning: Exception java.lang.OutOfMemoryError occurred dispatching signal SIGTERM to handler- the VM may need to be forcibly terminated occured. My environment: ___ Environment _____________________________ JIRA Build : 5.0.6 (HowTos)