java heap space eclipse

-xms is the start memory (at the VM start), -xmx is the maximum memory for the VM

3种方法:

  • eclipse.ini : the memory for the VM running eclipse            eclipse安装目录下eclipse.ini中 修改成-Xms800m   -Xmx800m (ps:如果这步改完ok了,就不需要第二步了,本人是靠这个就解决了)
  • jre setting : the memory for java programs run from eclipse    修改步骤window->preferences->java->installed JREs->edit-default  VM arguments->-Xmx1024M
  • catalina.sh : the memory for your tomcat server   这个暂时没改

你可能感兴趣的:(android点点滴滴,java,eclipse,tomcat,server)