Benutzer:Krogmann/JOnAS Memory Configuration
Changing the memory used by JOnAS
If JOnAS throws a out of memory exception (e.g. Heap Space) change its configuration.
Valid for Windows NT/XP/Vista/Server, Sun JVM >1.5
In bin/nt/config_env.bat add a new line "JAVA_OPTS" like this:
[..] ..SSES=c:\mckoi\mkjdbc.jar Set JAVA_OPTS=-server -Xms512m -Xmx1024m -Xss256k [..]
where:
- -server enables server behaviour of the JVM
- -Xms512m -Xmx1024m changes lower and upper limit for heap space
- -Xss256k influences the stack size