简体   繁体   English

为什么在Eclipse的Mac OS X发行版的默认eclipse.ini中将Xmx java参数设置得如此之低?

[英]Why is the Xmx java argument set so low in the default eclipse.ini in the Mac OS X distribution of Eclipse?

Why is the Xmx java argument set so low in the default eclipse.ini file in the Mac OS X distribution of Eclipse? 为什么在Eclipse的Mac OS X发行版的默认eclipse.ini文件中,Xmx java参数设置得如此之低? I often find Eclipse to be very sluggish prior to increasing the Xmx argument manually. 我经常发现Eclipse在手动增加Xmx参数之前非常缓慢。 By default, it was set to 384M. 默认情况下,它设置为384M。 Modern IDEs should be expected to take up around 2GB of memory. 应当期望现代IDE占用大约2GB的内存。

One of the reasons: "Changing the heap size does impact the amount of memory used by the process, which results in less memory being available for other processes." 原因之一:“更改堆大小确实会影响该进程使用的内存量,从而导致可用于其他进程的内存更少。” https://bugs.eclipse.org/bugs/show_bug.cgi?id=265525#c16 https://bugs.eclipse.org/bugs/show_bug.cgi?id=265525#c16

Also see comment #43 on that page for potential problems high Xmx value may cause. 有关高Xmx值可能引起的潜在问题,另请参阅该页面上的注释#43。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM