博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
aptana 报错:Java heap space
阅读量:6257 次
发布时间:2019-06-22

本文共 2020 字,大约阅读时间需要 6 分钟。

Setting Memory Usage Configuration

By default, Aptana Studio allocates 128M to start (the -Xms128M parameter), and uses a maximum of 384MB (the -Xmx384M parameter), of Java heap memory, which is usually enough for most development tasks. However, depending on the JRE that you are running and if you are working with additional plugins and have many files open, you may need to increase your amount of memory. You may also find it helpful to increase the size of the permanent generation memory, which defaults to 256MB (the -XX:MaxPermSize=256m parameter).

In some situations, such as when you have many projects in your workspace or when a project under source control has many files, you may get better performance by increasing the maximum heap memory (the -Xmx384M parameter). However, setting the memory allocation larger than the available physical memory on your machine can cause issues with Java which will severely degrade your computer's performance and should be avoided.

Memory usage configuration changes are made in the AptanaStudio.ini file. Studio must be restarted for any changes to this file to take effect.

Certain parameters in the AptanaStudio.ini file are platform-dependent; For example, only OS X needs the XstartOnFirstThread parameter.

AptanaStudio.ini Across Platforms

Windows

-startup plugins/org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar --launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.101.R34x_v20080731 -vmargs -Xmx384M -Xms128M -XX:MaxPermSize=256m -Djava.awt.headless=true

OS X

-vmargs -Xms128m -Xmx384m -XX:MaxPermSize=256m -Xdock:icon=../Resources/aptana.icns -XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts

Linux

-startup plugins/org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar --launcher.library plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.0.101.R34x_v20080731 -vmargs -Xmx384M -Xms128M -XX:MaxPermSize=256m -Djava.awt.headless=true

转载于:https://www.cnblogs.com/kungfupanda/archive/2011/11/07/2239553.html

你可能感兴趣的文章
峰采 #2
查看>>
高阶组件之属性代理
查看>>
Python 比特币 教程 之一:创建机器人
查看>>
extract-text-webpack-plugin用法
查看>>
java中的多线程你只要看这一篇就够了
查看>>
利用tornado实现表格文件预览
查看>>
深入call apply bind
查看>>
「前端面试题系列6」理解函数的柯里化
查看>>
用友云开发者中心助你上云系列之在线调试
查看>>
【跃迁之路】【724天】程序员高效学习方法论探索系列(实验阶段481-2019.2.14)...
查看>>
个人博客四|注册登录退出功能后台开发
查看>>
工作中常用到的ES6语法
查看>>
Django-Signals信号量
查看>>
flac格式转换mp3格式要用什么软件
查看>>
19. Remove Nth Node From End of List
查看>>
最佳在线图表软件
查看>>
Work with Alexa : 智能设备连接到Alexa
查看>>
[sublime系列文章] sublime text 3构建系统
查看>>
995. Minimum Number of K Consecutive Bit Flips
查看>>
for-loop 与 json.Unmarshal 性能分析概要
查看>>