Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Fixed broken formatting

...

Performance tuning in Java basically boils down to memory. Tomcat is especially memory hungry, and will benefit from being given lots of RAM. To set the amount of memory available to tomcat edit `$TOMCAT$TOMCAT_HOME/bin/setclasspath.sh` sh and append a line like: -

Panelcode

    JAVA_OPTS=-Xmx512m -Xms512m

If the machine is dedicated to DSpace a decent rule of thumb is to give tomcat half of the memory on your machine. The latest guidance from Sun is to set -Xms to the same value as -Xmx for server applications such as tomcatTomcat.

Give the Command Line Tools More Memory

Edit the `-Xmx` Xmx argument on the last line of `$DSPACE$DSPACE_HOME/bin/dsrun` dsrun to increase the memory available to command line tools. Especially useful for big batch jobs.

...

On many linux distros PostgreSQL comes out of the box with an incredibly conservative configuration - it uses only 8Mb of memory! To put some more fire in its belly edit the `sharedshared_buffers` buffers parameter in `postgresqlpostgresql.conf`conf. The memory usage is 8KB multiplied by this value. The advice in the postgres docs is not to increase it above 1/3 of the memory on your machine.

...