-1

Tomcat 6 installed via yum. When i try to start it, catalina.out contain:

Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.

A have downloaded tomcat in .zip and run it - all ok, but I need to use tomcat installation from repo And also when run java

3
  • what does the error message suggests?
    – dawud
    Jul 20, 2013 at 7:16
  • How much memory does your system have? Jul 20, 2013 at 7:22
  • -/+ buffers/cache: 1160 6699 total mamory 7859 Mem: 7859 7711 148 0 49 6501
    – Dimm
    Jul 20, 2013 at 8:50

1 Answer 1

0

It seams Heap Size is more than your system RAM .

  Run the JVM with -XX:MaxHeapSize=256m (or any big number), and possibly -Xmx512m
1
  • it can run from root only. Any another user get error
    – Dimm
    Jul 20, 2013 at 19:01

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .