Websphere JVM Heap Size
Posted: Mon Nov 06, 2017 3:14 pm
Is there a general rule of thumb when it comes to setting JVM "initial heap size" and "maximum heap size" in Websphere Console?
We have 64-bit with 32MB memory and currently have "initial" set to 1280MB and "maximum" set to 2048MB.
We've recently run into two cases where dsjob command failed with "'java::lang::OutOfMemoryError'".
Currently when I check "free -m" on the server it's showing 4MB free.
Curious if anyone can help determine if our settings could be tweaked a little better? I keep finding conflicting articles that suggest we could either have too little allocated or too much allocated.
We have 64-bit with 32MB memory and currently have "initial" set to 1280MB and "maximum" set to 2048MB.
We've recently run into two cases where dsjob command failed with "'java::lang::OutOfMemoryError'".
Currently when I check "free -m" on the server it's showing 4MB free.
Curious if anyone can help determine if our settings could be tweaked a little better? I keep finding conflicting articles that suggest we could either have too little allocated or too much allocated.