Hi all, We are seeing out of memory metaspace errors in the log, causing the application to cycle to avoid a crash. I am attempting to troubleshoot but don't have access to any of the JVM tools like APM/APD. I understand the metaspace to be renamed from permanent generation space, which holds the java classes that are loaded. I am also aware we can ask support to increase this. I am aware I can ask support for a heap dump but I nor sure if this includes metaspace or not. I want to ask if anyone had come across this before, how I can go about troublehooting it. Any other advise would be helpful, thank you
asked
Garion Swann
1 answers
0
Try this steps :
Go to your application in the Developer Portal
Open environments
Select the details of the environment you want to edit
Select Runtime tab
Add Custom Environment Variables (bottom area)
Select Unsupported and enter MAX_METASPACE_SIZE
Enter new Metaspace valueEnter the value of metaspace in MB, followed by an “M“.For example, if you desire a MAX_METASPACE_SIZE of 320MB, you enter 320M
Press Save
Note, the new variable will only take effect when you restart your application.