Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

By default, DSpace only provides 256MB of maximum heap memory to its command-line tools.

Wiki MarkupIf you'd like to provide *more* memory to command-line tools, you can do so via the {{JAVA_OPTS}} environment variable (which is used by the {{\[dspace\]/bin/dspace}} script). Again, it's the same syntax as above:

Code Block
    JAVA_OPTS=-Xmx512m -Xms512m

This is especially useful for big batch jobs, which may require additional memory.

You can also edit the {{\also edit the [dspace\]/bin/dspace}} script and add the environmental variables to the script  script and add the environmental variables to the script directly.

Note

Wiki Markup

Give the Command Line Tools More Java PermGen Space Memory

...

By default, Java only provides 64MB of maximum PermGen space.

Wiki MarkupIf you'd like to provide *more* PermGen Space to command-line tools, you can do so via the {{JAVA_OPTS}} environment variable (which is used by the {{\[dspace\]/bin/dspace}} script). Again, it's the same syntax as above:

Code Block
    JAVA_OPTS=-XX:MaxPermSize=128m

...