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 : .
|
|