Fix : Glassfish server is running out of memory due to Java Heap Space getting exhausted

  1. Launch web browser and Login to Administration Console: http://<your-server-ip>:4848 
  2. Go to Configurations > server-config > JVM Settings > JVM Options
    1. Click on "Add JVM Option" and add or update below values
      1. -Xmx4096m  (Replace existing value with this new value)
    2. Click on Save
  3. Restart GlassFish server. To restart GlassFish server: 
    • glassfish4/bin/asadmin stop-domain 
    • glassfish4/bin/asadmin start-domain
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request


Article is closed for comments.
Powered by Zendesk