Smarts NCM: PermSize and MaxPermSize options have been removed in java 8 which is part of 9.4
search cancel

Smarts NCM: PermSize and MaxPermSize options have been removed in java 8 which is part of 9.4

book

Article ID: 331198

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

Symptoms:


Changes to the java jdk 

While 9.4 switched to java 8, some of the changes in java 8 where not accounted for.

In this case, the PermGen space has been removed, and so a number of command line options used are not supported anymore:

Please use CMSClassUnloadingEnabled in place of CMSPermGenSweepingEnabled in the future
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=2048m; support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=4096m; support was removed in 8.0

Environment

VMware Smart Assurance - NCM

Resolution

This will be addressed in the next release for NCM 9.4
For more details contact support quoting this kb article

Since Permanent generation has been completely removed in JDK 8, PermSize and MaxPermSize parameters have also removed from JDK. 
Instead of Perm Gen space, JDK8 has introduced with MetaspaceSize. This uses the native memory from the system instead of Perm Gen memory. If this size has not declared, it dynamically uses the system native memory on demand at runtime. MaxMetaspaceSize is unlimited. So restricting the MaxMetaspaceSize as 1 GB and MetaspaceSize as 512 MB.