简体   繁体   English

如何为sts 3.5.0配置具有8GB RAM的文件sts.ini?

[英]How to config file sts.ini with RAM 8GB for sts 3.5.0?

This is my file "sts.ini", I configed but it something still run very slow. 这是我配置的文件“ sts.ini”,但运行速度仍然很慢。 Who can help me please? 谁能帮助我?

--launcher.XXMaxPermSize 4096M -vmargs -Dosgi.requiredJavaVersion=1.6 -Xms1024m -Xmx2048m -XX:MaxPermSize=1024m --launcher.XXMaxPermSize 4096M -vmargs -Dosgi.requiredJavaVersion = 1.6 -Xms1024m -Xmx2048m -XX:MaxPermSize = 1024m

I think the issue here is that you are trying to change the PermSize (see that you put it twice!!). 我认为这里的问题是您正在尝试更改PermSize(请参阅两次放置!)。 If you want more ram you have to change the Xmx and Xms 如果要更多内存,则必须更改Xmx和Xms

example: 例:

-Xms4g -Xmx8g -XX:MaxPermSize=1024m -Xms4g -Xmx8g -XX:MaxPermSize = 1024m

That way you get up to 8gb of ram and start with 4gb. 这样一来,您最多可以得到8GB的RAM,并从4GB开始。

Hope it helps! 希望能帮助到你!

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

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