Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Building 4k files, always crash with Out of memory after 1.5k files
Building 4k files, always crash with Out of memory after 1.5k files [message #1719802] Tue, 12 January 2016 08:09 Go to next message
Sergey Toshin is currently offline Sergey ToshinFriend
Messages: 56
Registered: May 2015
Member
Hi,
If I built more than 1.5k files, I receive crash with Out of memory error. I'm trying to make a custom representation of project, but when around 1k files are built, progress speed is reduced, processor starts reserving 90-100%. The first thing you may think is advising to increase memory for JVM, but I already added flags -d64 and -Xmx6g. At the highest point only 2gb of memory is reserved. I think here is another problem. What if GC only after 1.5k files starts clearing the garbage?
Also I build each file separately, maybe here is a way to build everything at once and get a lot of CompilationUnits?

Thanks
Re: Building 4k files, always crash with Out of memory after 1.5k files [message #1719831 is a reply to message #1719802] Tue, 12 January 2016 13:03 Go to previous messageGo to next message
Erick Hagstrom is currently offline Erick HagstromFriend
Messages: 107
Registered: April 2014
Location: USA
Senior Member
32-bit Java, maybe?
Re: Building 4k files, always crash with Out of memory after 1.5k files [message #1719935 is a reply to message #1719831] Wed, 13 January 2016 10:42 Go to previous messageGo to next message
Sergey Toshin is currently offline Sergey ToshinFriend
Messages: 56
Registered: May 2015
Member
No, 64-bit.
Re: Building 4k files, always crash with Out of memory after 1.5k files [message #1719938 is a reply to message #1719935] Wed, 13 January 2016 11:08 Go to previous message
Sergey Toshin is currently offline Sergey ToshinFriend
Messages: 56
Registered: May 2015
Member
It was a problem of Eclipse. When I run the jar in console, everything is fine and it doesn't crash
Thanks
Previous Topic:Removing internal JDK classes from suggested "quick fix" imports
Next Topic:What Eclipse did to tomcat7 to make the performance more than double
Goto Forum:
  


Current Time: Thu Apr 25 11:08:24 GMT 2024

Powered by FUDForum. Page generated in 0.03001 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top