Out of Memory Error


A 'java.lang.OutOfMemory' error may occur during viewing of large diagrams, large design files or another memory intensive task. By default DbWrench allocates approximately 128 MB of memory for itself, this maybe inadequate for larger designs. The user can specify more memory to be allocated using the following procedures.

To Allocate More Memory

Navigate to the DbWrench installation folder. Usually 'dbwrenchapp'.

Then navigate to the 'etc' subfolder.

Open the 'dbwrenchapp.conf' file in an editor.

In the 'default_options' line, change '-J-Xmx128m' to '-J-Xmx256m'

To allocate an amount other than 256MB, just use that number instead.

The changes will take effect next time DbWrench is started.



See also:

Creating Diagrams