Question

7
Replies
1926
Views
KarthikBalla2008 Member since 2016 4 posts
AA
Posted: 4 years ago
Last activity: 4 years 3 months ago
Closed

Pega 7.1.9 on Java 8 - MaxMetaspaceSize??

Very strange that Pega didn't recommend anything about MaxMetaSpaceSize introduced in Java8, does anyone have an idea. I raised an SR to understand if its missing in the documentation but I was asked to raise a question here instead. I could only see a one liner highlighted in the red below mentioning that PermSize isn't required in Java8 but what about the MaxMetaSpaceSize? Any suggestions would be greatly appreciated.

https://pdn.pega.com/documents/pega-72-platform-installation-guide-jboss-and-oracle

Page 38:

Set the JVM memory parameters: Pegasystems recommends these settings:

  1. Initial Heap Size (Xms): between 4 GB - 8 GB, based on monitoring of memory usage and GC frequency

b. Maximum Heap Size (Xmx): between 4 GB - 8 GB or larger, depending on your system configuration. See Application server memory requirements for more information.

If your application server is using the recommended Oracle JVM, and you are using Java 7, also add the PermSize and MaxPermSize settings. (Java 8 does not require you to set PermSize.)

  1. PermSize (-XX:PermSize): 512 MB
  2. MaxPermSize (-XX:MaxPermSize): 1024 MB

Note: If the server does not have enough memory allocated to run the Pega 7 Platform, the system may hang without an error message. Your values may need to be higher than these

recommendations based on your server hardware, the number of other applications, and the number of users on the server.

Modify the JAVA_OPTS environment variable to update the JVM memory values, for example:

-Xms4096m –Xmx8192m –XX:PermSize=512m –XX:MaxPermSize=1024m

Your modified JAVA_OPTS setting should look similar to this:

JAVA_OPTS="-Xms4096m –Xmx8192m –XX:PermSize=512m –

XX:MaxPermSize=1024m"-Dsun.rmi.dgc.server.gcInterval=3600000

Message was edited by: Lochan to add Category

***Updated by Moderator: Marissa to add Doc Bug group tag***

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Moderation Team has archived post
Share this page LinkedIn