If you get a Java memory error similar to that shown in the following figure on either an OFBiz error page or in the OFBiz logfile, you may or may not be able to continue running OFBiz. JVM memory allocation is configured in the startup file(s) or, if you are starting OFBiz from the command line, as a parameter passed to the Java executable.
First of all, ensure the following:
1. If OFBiz is already running, shut it down by either running the shutdown script provided or killing the associated Java process.
2. Navigate to the OFBiz install directory.
Java memory allocations like the one shown in the earlier figure can be fixed by following these steps:
1. If you are using startup files such as
startofbiz.sh
for Unix systems orstartofbiz.bat
on a Windows computer, open the appropriate startup file. If you are starting OFBiz from the command line, you simply enter in the new parameters as part of the initial Java command.2. For example...