有没有其他人注意到 GWT 开发模式能够在前 3-5 次相对较快(10-20 秒)刷新/重新加载,然后需要 5 分钟以上才能重新加载?
问问题
173 次
1 回答
2
这似乎是一个与内存相关的问题。我在我的机器上添加了更多的内存,然后在它的 ini 文件中给了 eclipse 更多的内存,我可以在没有减慢速度的情况下进行一天的编程。这是我的ini文件
-startup
plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.100.v20110502
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms256m
-Xmx1024m
于 2012-03-23T13:40:14.120 回答