Hi MagMan,

The problem is that you are not allocating enough memory to the java
process. You need to allocate more memory to the java process. I do it
by using the following command. 

cd /opt/servers/tomcat5.5/bin;/opt/java/jdk1.5/bin/java -classpath
bootstrap.jar -Xms256m -Xmx600m -XX:PermSize=256m -XX:MaxPermSize=256m
org.apache.catalina.startup.Bootstrap

You can either edit your start-up script (startup.sh) to set initial
heap size and maximum heap size or you can start the tomcat server
directly as I am doing. 

Hope this helps.

Regards,

-Deepak Mittal
http://www.XebiaIndia.com




On Sat, 2007-04-28 at 09:01 -0700, MAGMAN wrote:
> Hi all,
> 
> I'm still new in magnolia and Linux, so I would be glad for some help with
> my problem. I installed and edited Magnolia successfull in my local windows
> environment, but now I'm trying to install it on my Linux Server. Problem
> is, that I couldn't start it by executung "./startup.sh". I'm getting the
> following Error Messages:
> 
> Error occurred during initialization of VM
> Could not reserve enough space for object heap
> Could not create the Java virtual machine.
> 
> 
> The JAVA_HOME variable is set to: /opt/jdk1.5.0_11/
> 
> I'm using  Apache Tomcat 5.0.28 and  Magnolia 3.0.2.
> 
> Here are some information about the RAM of my Server:
> 
>              total       used       free     shared    buffers     cached
> Mem:       8299620    8288424      11196          0     167800    2427240
> -/+ buffers/cache:    5693384    2606236
> Swap:     12683308    2461552   10221756
> 
> It is a VPS.
> 
> Unfortunately I havn't found a solution by searching, so I hope someone is
> there outside to help me.
> 
> Thanks a lot an buy buy!
> 
> MagMan


----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/developer.html
----------------------------------------------------------------

Reply via email to