由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - Eclipse out of memory?
相关主题
防火墙一开,eclipse连远程的服务器就超时,怎么解决?[提问] The JVM could not be started
macosx下,找不到javaws.jar和jnlp.jarjavaw是不是没法写文件?
Eclipse export,有javaws的时候如何设置javaws问题
那位大虾推荐一个Eclipse plugin--memory profiler?俺梦想的系统
问一个关于Eclipse IDE 的问题Re: Anyone here know J2ME?
birt怎么样Strongly recommend Eclipse
java profilingHow about Swing?
Netbean 5.0 slow as hellCOOL JAVA IDE
相关话题的讨论汇总
话题: eclipse话题: memory话题: out话题: vmargs话题: xms512m
进入Java版参与讨论
1 (共1页)
g*****g
发帖数: 34805
1
Ever since I add M7 jsp plugin, Eclipse keeps complaining out of memory.
I try -vmargs -Xms512M -Xmx768M, and didn't seem to help.
less than 256M memory is occupied in Javaw so Eclipse is not honoring it.
Did I mess up something?
g*****g
发帖数: 34805
2
-vmargs -Xms512m -Xmx512m -XX:PermSize=128m -XX:MaxPermSize=128m
use this one and it's working better now.

【在 g*****g 的大作中提到】
: Ever since I add M7 jsp plugin, Eclipse keeps complaining out of memory.
: I try -vmargs -Xms512M -Xmx768M, and didn't seem to help.
: less than 256M memory is occupied in Javaw so Eclipse is not honoring it.
: Did I mess up something?

G*********a
发帖数: 1080
3
u can try to profile to see which method costs the most resource.

【在 g*****g 的大作中提到】
: Ever since I add M7 jsp plugin, Eclipse keeps complaining out of memory.
: I try -vmargs -Xms512M -Xmx768M, and didn't seem to help.
: less than 256M memory is occupied in Javaw so Eclipse is not honoring it.
: Did I mess up something?

m******t
发帖数: 2416
4
Profiling Eclipse? That'll be fun. 8-)
g*****g
发帖数: 34805
5
The issue is that eclipse uses some Perm space, where the class information
is stored there (I guess class name, method name etc.).
When the project gets big, these meta info just cannot be stored in default
perm space (probably 32M), and you crash no matter what. Profiler probably
wouldn't help here, it took me some time to dig it out from Eclipse Bugzilla
.
G*********a
发帖数: 1080
6
some colleague told me there is a patch package to profile eclipse while it
runs, i never use that. i only know how to go back terminals to profile in
the convention way. but thanks, i always learn something from your post.

information
default
Bugzilla

【在 g*****g 的大作中提到】
: The issue is that eclipse uses some Perm space, where the class information
: is stored there (I guess class name, method name etc.).
: When the project gets big, these meta info just cannot be stored in default
: perm space (probably 32M), and you crash no matter what. Profiler probably
: wouldn't help here, it took me some time to dig it out from Eclipse Bugzilla
: .

1 (共1页)
进入Java版参与讨论
相关主题
COOL JAVA IDE问一个关于Eclipse IDE 的问题
Eclipse has problem with CVSbirt怎么样
java compilation questionjava profiling
eclipse helpNetbean 5.0 slow as hell
防火墙一开,eclipse连远程的服务器就超时,怎么解决?[提问] The JVM could not be started
macosx下,找不到javaws.jar和jnlp.jarjavaw是不是没法写文件?
Eclipse export,有javaws的时候如何设置javaws问题
那位大虾推荐一个Eclipse plugin--memory profiler?俺梦想的系统
相关话题的讨论汇总
话题: eclipse话题: memory话题: out话题: vmargs话题: xms512m