Exception in thread “main” Java Lang. outofmemoryerror: GC overhead limit exceeded in GWT application

I am developing applications using GWT and gae When I try to rebuild it or create an artifact, I get a lot of errors as shown in the figure below

I searched Google and stack overflow, and I got some answers, but not my specific question

From my understanding, I get the error because my garbage collector consumes a lot of memory

Here is the main error exception in the thread "main" Java Lang. outofmemoryerror: GC overhead limit exceeded

Solution

OK, I solved the problem Just increase the memory required by the virtual machine to compile the project It used to be 128, now I change it to 512 Because my project grows, I need more memory to compile the project's classes This is how to do this in injtellj idea Right click the item

Note: in an ideal IntelliJ 12 project, the settings are: file – > project structure or Ctrl ALRT shirt s

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>