« FireStorm/DAO 3.0 GA | Main | SQL Server 2005 support »

Resolving OutOfMemory exceptions

If you are hitting OutOfMemory problems using FireStorm/DAO then it is because the Java Virtual Machine (JVM) does not have enough memory allocated.

If you are using Windows platform then you can use the following command line parameters to control how much memory to give the JVM. This example specifies an initial size of 256MB and a maximum size of 512MB but you may want to use larger numbers.

firestorm.exe -J-Xms256M -J-Xmx512M

If you want to launch using the jar files directly and bypass the .exe (or if you are on Linux/Mac) you will need to ensure that you have log4j and jdom jars (that ship with FireStorm/DAO) in your classpath and use the command line:

java -Xms256M -Xmx512M -jar firestorm.jar

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)