On Dec 13, 2005, at 8:43 AM, (James Frankman) wrote:

Thanks for the info. I will look into Jonas. I assume it is a alternative repository. Is this correct? If I increased the ram to > 512MB, would my configuration be sufficient, or do I also need a faster processor? What exactly do the options "-Xms256m -Xmx512m" mean?



Read that as: Start with a minimum of 256 Meg of memory space and expand as needed to 512 Meg. You are likely to have problems here, however. Your machine only has 384M, so even when it starts out at 256M, some of that active memory space will be swapped out to disk (your OS will take up some room, among other things). And the JVM is not required to do a gc until the max memory is hit, so its likely that a max setting larger then your physical memory will place lots of active data out on the disk.

So, preferably stick some more memory in your machine. Alternately, experiment w/ setting those values back a bit - maybe 128/256 - until you find values that allow the build to take place and doesn't hurt your performance too much.

--ee


-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED]
Sent: Monday, December 12, 2005 5:15 PM
To: [email protected]
Subject: Re: [magnolia-user] Out of Heap space on repository build


Hi James,

You should use Jonas in the first place :P

In any case, you can change the default settings of your java
application by indeed using the following line:
export JAVA_OPTS="-Xms256m -Xmx512m" ;

You can also include that line in any of the start script.

However, your memory is a bit low for running a Java based server. If
you run the machine without any graphical environment, the set up
could be okay though.

Regards,

Nicolas,


If the line

On Dec 13, 2005, at 3:15 AM, (James Frankman) wrote:

I am trying to install Magnolia on SUSE Linux 10.0 with JBoss
v4.0.3. When I drop the magnolia.war file into the container, it
begins to install magnolia, but after a minute or two I get "out of
heap space" errors. I have 384 MB of RAM with a 600Mhz Intel
processor. Is this sufficient? I also read that for Tomcat
installations if you run out of memory you can adjust the Tomcat
configuration in the catalina.sh file (JAVA_OPTS=-Xms128M -
Xmx256M). Could I do something similar with JBOSS?

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


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

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


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

Reply via email to