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.

Attached snapshot

Add Comment
1 Answer(s)

Hi,

This warning has been added since JAVA 8.
http://www.oracle.com/technetwork/java/javase/8-compatibility-guide-2156366.html

Area: HotSpot / gc 

Synopsis

The command line flags PermSize and MaxPermSize have 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

source

RFE

6965548

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

Agile Angel Answered on January 5, 2018.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.