Java maximum memory on Windows XP

前端 未结 13 2076
轻奢々
轻奢々 2020-11-22 09:27

I\'ve always been able to allocate 1400 megabytes for Java SE running on 32-bit Windows XP (Java 1.4, 1.5 and 1.6).

java -Xmx1400m ...

Toda

13条回答
  •  清歌不尽
    2020-11-22 10:00

    **There are numerous ways to change heap size like,

    1. file->setting->build, exceution, deployment->compiler here you will find heap size
    2. file->setting->build, exceution, deployment->compiler->andriod here also you will find heap size. You can refer this for andriod project if you facing same issue.

    What worked for me was

    1. Set proper appropriate JAVA_HOME path incase you java got updated.

    2. create new system variable computer->properties->advanced setting->create new system variable

    name: _JAVA_OPTION value: -Xmx750m

    FYI: you can find default VMoption in Intellij help->edit custom VM option , In this file you see min and max size of heap.**

提交回复
热议问题