Setting MaxPermSize is a fatal exception?
martijnverburg at gmail.com
Tue Nov 4 10:00:50 UTC 2014
This is deliberate the flag was removed in Java 8 as Permgen no longer
On 4 November 2014 09:57, Kasper Sørensen <i.am.kasper.sorensen at gmail.com>
> Hi all,
> I am trying out the latest build on the Apache MetaModel project. I had
> locally set my MAVEN_OPTS to include a "-XX:MaxPermSize=512m" flag.
> Apparently this crashes JDK 9 with a fatal error ... Is that really
> intentional? Seems a bit strict - I notice in JDK 8 there's a warning which
> is fine.
> C:\Program Files\Java\jdk1.9.0\bin>java %MAVEN_OPTS%
> Unrecognized VM option 'MaxPermSize=512m'
> Error: Could not create the Java Virtual Machine.
> Error: A fatal exception has occurred. Program will exit.
> Best regards,
> Kasper Sørensen
More information about the adoption-discuss