在我对 GWT 设计没有任何问题之前,但是现在,我收到了这个错误:
Error loading module(s).
GWT Designer can't load a module either because there is not enough heap space available for Eclipse, or some other module or internal error has occurred. The GWT log at $project_dir/.gwt/.gwt-log has the following error messages:
Line 4: Unexpected exception while processing element 'inherits' Failure while parsing XML Unexpected error while processing XML
我已经在我的 eclipse.ini 中添加了这些 vmargs,但它仍然无法正常工作:
-vmargs
-Dosgi.requiredJavaVersion=1.5
-XX:PermSize=64M
-XX:MaxPermSize=512M
-Xms256m
-Xmx512m
我也运行了 VisualVM,用完的 PermGen 甚至没有接近最大值。