Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=350m;

When I'mtrying to open Intellij IDE using command line in linux like this ./phpstorm.sh both android studio and PHPStorm I always got this message :

OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=350m; support was removed in 8.0

and I was wondering if google find solution here but I was kinda lost here since I'm newbie in ubuntu 14.04. my question is what is the cause of this message to diplay? and how to resolve this?

I've tried using this command export MAVEN_OPTS="-Xmx512m" but it's not resolve the issue. and I'm using java 1.8.0_73 downloaded from here. any useful help would be appreciated, thank you.

like image 931
Gujarat Santana Avatar asked Apr 08 '16 13:04

Gujarat Santana


2 Answers

This is only a warning saying the option has been ignored - so it should not cause any issues.

The JVM options should be located in {IntelliJ folder}/bin/idea64.exe.vmoptions (on windows - probably something similar on linux). You can edit that file and delete the maxpermsize option.

like image 173
assylias Avatar answered Oct 30 '22 22:10

assylias


The IDEs try to set MaxPermSize in case the are run under java 7. The parameter was removed in java 8, so it is ignored.

For further information see What does -XX:MaxPermSize do?

like image 45
Eashi Avatar answered Oct 30 '22 23:10

Eashi