Categories
Java OpenBSD

JVM Heap Size

if you get low memory error when running java program then try to look heap size flags with this command.

java -XX:+PrintFlagsFinal -version | grep HeapSize

To see all JVM flags just run the command without the grep.

Leave a Reply

Your email address will not be published. Required fields are marked *