probably you are trying wrong options anyways. i got a similar error with supporting error log:

java hotspot(tm) client vm warning: ignoring option permsize=32m; support was removed in 8.0
java hotspot(tm) client vm warning: ignoring option maxpermsize=128m; support was removed in 8.0

im my case, the software did not support java 8 yet(script was using old jvm arguments) but i had had java 8 by default.


one of the reason for this issue is no memory available for tomcat to start. try to delete the unwanted running software from windows and restart the eclipse and tomcat.


solution is simple. no need to go deep into this issue.

if you are running on 64bit machine then follow below steps:

  • unistall 32 bit java first (check in c:\program files (x86) for its existence)
  • install the newer version jdk kit 64 bit (includes jre)
  • set the environment path (to avoid conflict error if you have two different 64bit jre)
  • check in command prompt by typing javac command.
  • restart / done

you can have two different java installed but don't forgot to set path.


please set java_opts=-xms256m -xmx512m in environment variables, it should solve the issue, it worked for me.


find out if you are using a 32bit version or 64bit version of java. to know that use the command

java -version

the 3rd line of the output should give you if it 32bit or 64bit.

enter image description here

if it is 32bit uninstall and install a 64bit version.


i know that i am a bit late, but here my answer comes:

i just installed the java online version from oracle(not the offline 64-bit one).

after having added the java_home env variable, it just worked!

hope i could help :)


i also had the same problem while using eclipse which was 32 bit and the jvm used by it was 64 bit. when i routed the eclipse to 32 bit jvm then it worked


just put # symbol in front of org.gradle.jvmargs=-xmx1536m in

 # org.gradle.jvmargs=-xmx1536m


this is the issue of heap size. edit your .bat (batch file). it might be showing heap size 1024. change it to 512 then it should work.


make sure that eclipse is actually running the same jvm you think it's running. if you use java in your web browser ever, you likely have a 32-bit version floating around too that might be taking precedence if it installed or updated lately.

to be absolutely sure, i recommend adding these two lines to your eclipse.ini file at the top:


...where on my machine c:/java/jdk1.6.0_27/bin where the jvm i know is 64-bit is located. be sure to have the bin folder there.

(as a bonus, on windows 7, this also allows you to actually "pin the tab" which is why i had to do this for my own usage)


i was using liferay with tomcat server from eclipse ide. i was stuck with this same error on click on server start up. double click on server from eclipse. it open up server overview page. updated memory arguments from -xmx1024m -xx:maxpermsize=256m to -xmx512m -xx:maxpermsize=256m. then it was working for me.


first the jre of 32bits can't use more ~1.5gb of ram. so if you want more, use a 64bits jre.

second, when a new jvm starts, this sum the -xmx property of the all jvm that are running, and check if there is enough memory left on the system to run at their own -xmx, if is not enough then the error occurs.


this is actually not an eclipse-specific issue; it's a general java-on-windows issue. it's because of how the jvm allocates memory on windows; it insists on allocating a contiguous chunk of memory, which often windows can't provide, even if there are enough separate chunks to satisfy the allocation request. there are utilities that will try to help windows "defrag" its memory, which would, in theory, help this situation; but i've not really tried them in earnest so can't speak to their effectiveness. one thing that i've heard sometimes that might help is to reboot windows and, before starting any other apps, launch the java app that needs the big chunk of memory. if you're lucky, windows won't have fragmented its memory space yet and java will get the contiguous block that is asks for.

somewhere out on the interwebs there are more technical explanations and analyses of this issue, but i don't have any references handy.

i did find this, though, which looks helpful:


here is how to fix it: go to start->control panel->system->advanced(tab)->environment variables->system

variable name: _java_options   
variable value: -xmx512m

variable name: path  
variable value: ;c:\program files\java\jre6\bin;f:\jdk\bin;  

change this to your appropriate path.


could it be that you're using a 32-bit jvm on that machine?

Related Query

More Query from same tag