java.lang.OutOfMemoryError: GC overhead limit exceeded

I'm seeing this constantly when attempting to compile. I'm on 64 bit windows 2003. I believe my vmoptions are set to handle this compilation which isn't involving that many classes.

-Xms512m
-Xmx2048m
-XX:MaxPermSize=1024m
-ea
-server
-XX:-UseGCOverheadLimit


It seems to hang for a long time parsing some classes.

0
9 comments
Avatar
Permanently deleted user

Here is the entire trace:

Information:The system is out of resources.
Information:Consult the following stack trace for details.
Information:java.lang.OutOfMemoryError: GC overhead limit exceeded
Information: at java.util.Arrays.copyOf(Arrays.java:2882)
Information: at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100)
Information: at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:390)
Information: at java.lang.StringBuilder.append(StringBuilder.java:119)
Information: at com.sun.tools.javac.util.DefaultFileManager.listDirectory(DefaultFileManager.java:345)
Information: at com.sun.tools.javac.util.DefaultFileManager.list(DefaultFileManager.java:872)
Information: at com.sun.tools.javac.jvm.ClassReader.fillIn(ClassReader.java:2130)
Information: at com.sun.tools.javac.jvm.ClassReader.complete(ClassReader.java:1781)
Information: at com.sun.tools.javac.code.Symbol.complete(Symbol.java:386)
Information: at com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:274)
Information: at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:446)
Information: at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:238)
Information: at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:252)
Information: at com.sun.tools.javac.comp.Enter.complete(Enter.java:457)
Information: at com.sun.tools.javac.comp.Enter.main(Enter.java:442)
Information: at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:819)
Information: at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:727)
Information: at com.sun.tools.javac.main.Main.compile(Main.java:353)
Information: at com.sun.tools.javac.main.Main.compile(Main.java:279)
Information: at com.sun.tools.javac.main.Main.compile(Main.java:270)
Information: at com.sun.tools.javac.Main.compile(Main.java:69)
Information: at com.sun.tools.javac.Main.main(Main.java:54)
Information: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Information: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
Information: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
Information: at java.lang.reflect.Method.invoke(Method.java:597)
Information: at com.intellij.rt.compiler.JavacRunner.main(JavacRunner.java:70)
Information:Compilation completed with 1 error and 0 warnings
Information:1 error
Information:0 warnings
Error:Compiler internal error. Process terminated with exit code 3

0
Avatar
Permanently deleted user

I'm dissapointed to say that I do not encounter this problem with Eclipse.

0
Avatar
Permanently deleted user

Eclipse usually doesn't use the Sun JDK, so this argument is either not support or the compiler is more optimized. This is a more of a JDK issue then an IntelliJ issue.

0
Avatar
Permanently deleted user

To set the compiler options, go to:

Settings->Compiler->Java Compiler

Select the compiler from the drop-down list and set the desired options.

These options listed are for the JVM Intellij runs in.

2
Avatar
Permanently deleted user

Nice using Eclipse here solved the problem. Thanks

-1

Hello Samuel,

This exception happens in the Java compiler, which runs in a separate JVM
and isn't affected by the VM options set for IntelliJ IDEA itself. You can
modify the VM options used for running the Java compiler in Settings | Compiler
| Java Compiler.

Here is the entire trace:

Information:The system is out of resources.

Information:Consult the following stack trace for details.

Information:java.lang.OutOfMemoryError: GC overhead limit exceeded

Information: at java.util.Arrays.copyOf(Arrays.java:2882)

Information: at
java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.j
ava:100)

Information: at
java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:390)

Information: at java.lang.StringBuilder.append(StringBuilder.java:119)

Information: at
com.sun.tools.javac.util.DefaultFileManager.listDirectory(DefaultFileM
anager.java:345)

Information: at
com.sun.tools.javac.util.DefaultFileManager.list(DefaultFileManager.ja
va:872)

Information: at
com.sun.tools.javac.jvm.ClassReader.fillIn(ClassReader.java:2130)

Information: at
com.sun.tools.javac.jvm.ClassReader.complete(ClassReader.java:1781)

Information: at
com.sun.tools.javac.code.Symbol.complete(Symbol.java:386)

Information: at
com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:274)

Information: at
com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:4
46)

Information: at
com.sun.tools.javac.comp.Enter.classEnter(Enter.java:238)

Information: at
com.sun.tools.javac.comp.Enter.classEnter(Enter.java:252)

Information: at
com.sun.tools.javac.comp.Enter.complete(Enter.java:457)

Information: at com.sun.tools.javac.comp.Enter.main(Enter.java:442)

Information: at
com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:819
)

Information: at
com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:727)

Information: at com.sun.tools.javac.main.Main.compile(Main.java:353)

Information: at com.sun.tools.javac.main.Main.compile(Main.java:279)

Information: at com.sun.tools.javac.main.Main.compile(Main.java:270)

Information: at com.sun.tools.javac.Main.compile(Main.java:69)

Information: at com.sun.tools.javac.Main.main(Main.java:54)

Information: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)

Information: at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
ava:39)

Information: at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
orImpl.java:25)

Information: at java.lang.reflect.Method.invoke(Method.java:597)

Information: at
com.intellij.rt.compiler.JavacRunner.main(JavacRunner.java:70)

Information:Compilation completed with 1 error and 0 warnings

Information:1 error

Information:0 warnings

Error:Compiler internal error. Process terminated with exit code 3

---
Original message URL:
http://devnet.jetbrains.net/message/5271614#5271614

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


2
Avatar
Permanently deleted user

Nowadays, a large amount of people dream of possessing a unique and beautiful http://www.momocheck.com/. But when they possess their http://www.momocheck.com/category-48-b0-Breitling.html, they don't know how to maintain it. So it's important for them to maintain their http://www.momocheck.com/category-187-b0-Porsche-Design.html. As a http://www.momocheck.com/category-92-b0-Blancpain.html lover, I'd like to introduce http://www.momocheck.com/category-89-b0-Audemars-Piguet.html's maintenance method to you.Firstly, http://www.momocheck.com/category-103-b0-Vacheron-Constantin.html's battery is fitted at the time of manufacture and should be replaced at the first sign of low power.Secondly, some water-resistant http://www.momocheck.com/category-167-b0-Harry-Winston.html feature leather bands, be sure to dry the band thoroughly if it becomes wet. Prolonged wearing of the http://www.momocheck.com/category-126-b0-Accutron.html with a wet band may reduce the life of the band and cause it to discolor. It may also a skin reaction. To protect the electronic http://www.momocheck.com/category-197-b0-Sinn.html parts, it has dampers both on the inner and outer sides and thus, outstanding shock-resistance and vibration-resistance can be ensured.Thirdly, if the http://www.momocheck.com/category-204-b0-Ulysse-Nardin.html can be worn on the wrist during any hard sports, use not to allow the front glass to butt against any hard object.Fourthly, http://www.momocheck.com/category-97-b0-IWC.html I'd like to introduce any other ways to maintain http://www.momocheck.com/category-87-b0-ALange-Sohne.html:Never try to open the case or remove its back cover. You should have the rubber seal that keeps out water and dust replaced every 2 to 3 years. You should moisture appear inside the http://www.momocheck.com/category-161-b0-Gevril.html, have it checked immediately by your dealer.Please avoid exposing the http://www.momocheck.com/category-135-b0-Body-Glove.html to temperature extremes. To clean the http://www.momocheck.com/category-96-b0-Hublot.html and band, use a dry soft cloth or a soft cloth moistened in a solution of http://www.momocheck.com/category-203-b0-Triumph.html and a mild neutral detergent. Never use volatile agents (such as benzine, thinner, spray cleaners, etc.)Store your http://www.momocheck.com/category-48-b0-Breitling.html in a dry place when you are not using it.So as a http://www.momocheck.com/category-51-b0-Cartier.html owner, it's your responsibility to maintain your http://www.momocheck.com/category-192-b0-Richard-mille.html. I hope my method can help you. Try to maintain your http://www.momocheck.com/category-60-b0-Ferrari.html as well as you can.Nowadays, the idea that http://www.momocheck.com/category-242-b0-Air-king.htmles are not useful has become more and more popular, because telephones and computers have the function of showing time. However, in my opinion, people should buy http://www.momocheck.com/category-199-b0-Spazio24.html because of the importance of having them.First of all, http://www.momocheck.com/category-171-b0-Jaeger-Lecoultre.html are the symbol of being punctual. As usual, people who wear http://www.momocheck.com/category-140-b0-Casio.html are regarded as having a strong sense of time and responsibility. Wearing http://www.momocheck.com/category-204-b0-Ulysse-Nardin.html enables people to develop a good habit of being punctual. What is more, http://www.momocheck.com/category-47-b0-Breguet.html are also the symbol of personal identity and taste. Especially on formal occasions, people wearing http://www.momocheck.com/category-230-b0-Daytona.html can receive respect easier than people who do not wear them.Secondly, http://www.momocheck.com/category-167-b0-Harry-Winston.html are regarded as the decoration for people. Today, some people like to buy http://www.momocheck.com/category-49-b0-Burberry.html, because they are beautiful and fashionable. Wearing them enables people to feel more confident and happy.Thirdly, http://www.momocheck.com/category-146-b0-DG.html bring more convenience to see the time. http://www.momocheck.com/category-164-b0-Grimoldi.html cannot be replaced by telephones and computers. Although telephones and computers are the main ways for people to see http://www.momocheck.com/category-200-b0-TechnoMarine.html the time, they are not convenient on some occasions. For example, if we go outside, we cannot see the time on computers. If we are discussing http://www.momocheck.com/category-230-b0-Daytona.html an important project with a boss, we cannot take out of the telephone from the pocket to see the time, which is very impolite. But http://www.momocheck.com/category-197-b0-Sinn.html are able to solve these problems easily.Lastly but not the least, http://www.momocheck.com/category-153-b0-Elini.html are one of the factors of promoting the development of our economy. People are active to buy http://www.momocheck.com/category-203-b0-Triumph.html, which promotes the prosperity of the market and enlivens the market circulation. Gradually, our economy becomes more and more prosperous.Unquestionably, http://www.momocheck.com/category-156-b0-Festina.html have many advantages such as a symbol of being punctual, the decoration, seeing the time more conveniently http://www.momocheck.com/category-182-b0-Paul-Picot.html and the factor of promoting the development of our economy. So people should buy http://www.momocheck.com/category-54-b0-Christian-Dior.html not only for themselves but also for our society.

---
Original message URL: http://devnet.jetbrains.net/message/5278622#5278622

-6
Avatar
Permanently deleted user

This is the time, when you get to see more and more women talking about the popularity of fake http://www.lyhandbags.com/. These purses are now successfully being sold across the globe. You will get to see a large number of online stores, which are also selling http://www.lyhandbags.com/category-219-b0-Monogram-Multicolor.html of finest quality. The best part of shopping these cheap http://www.lyhandbags.com/category-178-b0-Dooney-Bourke.html is that they are just the lookalikes of the http://www.lyhandbags.com/category-245-b0-Samantha-Thavasa.html. Nobody can identify that you are carrying one of the cheap http://www.lyhandbags.com/category-183-b0-Juicy-Corture.htmland not the original http://www.lyhandbags.com/category-121-b0-Prada.html. In earlier years, women used to hesitate before buying http://www.lyhandbags.com/category-121-b0-Prada.html, but with the passage of time, they have understood the value of these http://www.lyhandbags.com/category-111-b0-Coach.html. Now, women do not feel ashamed of picking up fake http://www.lyhandbags.com/category-120-b0-Mulberry.html for themselves, for there is no difference in the quality and design. The only difference that you get to see is in the price value.The manufacturers http://www.lyhandbags.com/category-239-b0-Lancel.html of fake http://www.lyhandbags.com/category-210-b0-Damier-Graphite.html put sheer attention of the quality of the http://www.lyhandbags.com/category-245-b0-Samantha-Thavasa.html, which they manufacture for their customers. They do not compromise on quality. And for this they hire extremely talented, skillful and intelligent designers, who minutely observe the design, cuts, embellishment, detailing http://www.lyhandbags.com/category-119-b0-Miu-Miu.html and fabric of designer purses and then copy those purses in the same way. It is not at all an easy job to perform. To design http://www.lyhandbags.com/category-124-b0-Versace.html and manufacture a new and different purse is easier than to copy a branded purse. Fortunately, the companies of http://www.lyhandbags.com/category-104-b0-Balenciaga.html are doing this job very well.They are not going anything wrong. For them, they are the ones, who are helping the customers, by selling cheap http://www.lyhandbags.com/category-239-b0-Lancel.html. These purses are in the range of each and every woman. Women do not have to think several times before shopping http://www.lyhandbags.com/category-173-b0-Bally.html. Now you can easily step out of your homes and can visit any of the stores, where you will get to see http://www.lyhandbags.com/category-220-b0-Monogram-Perforation.html showcased in a neat and tidy way and can pick your most loved purses at highly affordable prices.When you will return back home after shopping these http://www.lyhandbags.com/category-216-b0-Monogram-Glace.html, then you are surely going to see a lot of bucks left in your wallets, which is the best part of buying these purses. There are millions of women, living across the globe, who are in love with the http://www.lyhandbags.com/category-212-b0-Mahina.html and quality of http://www.lyhandbags.com/category-209-b0-Damier-Canvas.html. They are rushing to get their hands on more and more http://www.lyhandbags.com/category-174-b0-Cartier.html, for these http://www.lyhandbags.com/category-245-b0-Samantha-Thavasa.html help them in adorning and increasing the value of their http://www.lyhandbags.com/category-123-b0-Valentino.html collection. With the increased demand for these purses, the designers are also getting worried, for they are seeing the interest of women is inclining towards cheap http://www.lyhandbags.com/category-218-b0-Monogram-Miroir.html. You will get to see http://www.lyhandbags.com/category-209-b0-Damier-Canvas.html of all the renowned designers. The availability of such wide range of http://www.lyhandbags.com/category-120-b0-Mulberry.html, has grabbed the attention of women. If you want to give lovable gifts to your closed ones, then nothing else can be better than giving away http://www.lyhandbags.com/category-211-b0-Epi-Leather.html.

---
Original message URL: http://devnet.jetbrains.net/message/5278809#5278809

-5
Avatar
Permanently deleted user

Thanks you Charles Canning , Dmitry Jemerov

0

Please sign in to leave a comment.