【问题标题】:GWT dev mode refreshes quickly the first 3-5 times then takes 5 minutes or more beyondGWT 开发模式前 3-5 次快速刷新,然后需要 5 分钟或更长时间
【发布时间】:2012-03-23 00:15:01
【问题描述】:

有没有其他人注意到 GWT 开发模式能够在前 3-5 次相对快速(10-20 秒)刷新/重新加载,然后需要 5 多分钟才能重新加载?

【问题讨论】:

  • 我经常遇到OutOfMemoryError 对 Eclipse 中的开发服务器的抱怨,但没有什么是终止/重启无法解决的 :)

标签: gwt dev-mode


【解决方案1】:

这似乎是与内存相关的问题。我在我的机器上添加了更多的内存,然后在它的 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

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2017-08-13
    • 1970-01-01
    • 2010-12-22
    • 2013-11-17
    • 1970-01-01
    • 2016-11-10
    • 2022-01-16
    • 2020-06-23
    相关资源
    最近更新 更多