Agile server is not getting started. It is throwing “Initial heap size set to a larger value than the maximum heap size” error. Already set JAVA_HOME environment variable. Also set _JAVA_OPTIONS = -Xmx512M. I am using 64 bit windows os with 4 gb RAM. Please help me to resolve this issue.
This warning has been added since JAVA 8.
Area: HotSpot / gc
The command line flags
MaxPermSizehave been removed and are ignored. If used on the command line a warning will be emitted for each.
Java HotSpot(TM) Server VM warning: ignoring option PermSize=32m; support was removed in 8.0
Java HotSpot(TM) Server VM warning: ignoring option MaxPermSize=128m; support was removed in 8.0
- Nature of Incompatibility
This because the Perm Generation doesn’t exist anymore in Java 8.
So the warning is not related to your -Xmx=512M (Heap Size) param but to the param -MaxPermSize=512M, which is related to the PermSize