{{theTime}}

Search This Blog

Total Pageviews

Java OutOfMemoryError Hint


The VM prints "OutOfMemoryError" and exits. Increasing max heap size doesn't help.
The Java HotSpot VM cannot expand its heap size if memory is completely allocated and no swap space is available. This can occur, for example, when several applications are running simultaneously. When this happens, the VM will exit after printing a message similar to the following.
Exception java.lang.OutOfMemoryError: requested  bytes

-Xmx-Xms-Xmx

No comments:

How to generate Digital Certificate?

keytool -genkey -v -keystore c:\Users\<user>\key.jks -storetype JKS -keyalg RSA -keysize 2048 -validity 10000 -alias key