亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

內(nèi)存泄漏 - eclipse新建static web project,使用中一直提示GC overhead limit exceeded
黃舟
黃舟 2017-04-24 09:11:25
0
2
755

我用eclipse新建了一個(gè)static web project,在使用過程中一直提示GC overhead limit exceeded,
我在百度也找了一些辦法,比如不選擇build automaticly,去掉不需要的validation,在eclipse的eclipse.ini中的-Xms和-Xmx設(shè)置大,將permsize也設(shè)置大,觀察了一下,發(fā)現(xiàn)還是不斷的在吞噬內(nèi)存。

我覺的很奇怪,只不過是靜態(tài)頁面,為什么eclipse會(huì)不斷的去做gc,又不需要編譯java代碼。

黃舟
黃舟

人生最曼妙的風(fēng)景,竟是內(nèi)心的淡定與從容!

reply all(2)
左手右手慢動(dòng)作

Looking at the error message, it seems that the background indexing task is eating up your memory. Try to see if you can disable indexing.
It’s best to post the eclipse.ini you last used.
The eternal generation does not need to be set too large.

Modify your MaxPermSize setting and increase the maximum memory.

-startup
plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.300.v20150602-1417
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.7
-Xms512m
-Xmx2048m
阿神

Hello, this is my eclipse.ini

-startup
plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.300.v20150602-1417
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
1024M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
1024m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.7
-Xms1024m
-Xmx1600m
-XX:NewSize=256m
-XX:MaxNewSize=256m
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template