Hi
Frédéric,
It seems I forgot to mention that in the wiki as well. The EAD forms are rather complex compared to most you'd encounter in an XForms app. By default, the Java virtual machine only receives about 256MB from the system of RAM to run Tomcat. EADitor needs about 1024MB, and I have found that it runs very, very well on a cloud server with 2048MB of RAM total.
You can change the Java settings in a config file. Assuming Debian's and Ubuntu's directory structures are the same:
sudo vi /etc/default/tomcat6
Scroll down to around line 25 to JVM startup parameters. My config looks like this:
------------
# options (-Djava.awt.headless=true -Xmx128m) will be used.
JAVA_OPTS="-Djava.awt.headless=true -Xms1792m -Xmx1792m -XX:MaxPermSize=256m -XX:NewSize=896m -XX:MaxNewSize=896m"
# Use a CMS garbage collector for improved response time
JAVA_OPTS="${JAVA_OPTS} -XX:+UseConcMarkSweepGC -XX:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled"
-----------
The second line enables Java garbage collection. These settings make EADitor run optimally on my desktop machine with 4GB of RAM and a server on
slicehost.com that has 2GB. If your system has less or other processes running, and you can't devote that many resources to Java alone, try
JAVA_OPTS="-Djava.awt.headless=true -Xms1024m -Xmx1024m -XX:MaxPermSize=256m -XX:NewSize=448m -XX:MaxNewSize=448m"
Ethan
On Wed, Mar 14, 2012 at 5:10 AM, Frédéric
<frederic...@gmail.com> wrote:
After succeeding installing EADitor and reaching the Admin page, I wasn't able to go much more further. When clicking on Create New Guide, I get an error message: Java heap space. Any suggestion?