Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Getting java.lang.OutOfMemoryError: GC overhead limit exceeded exception
Getting java.lang.OutOfMemoryError: GC overhead limit exceeded exception [message #1811278] Fri, 30 August 2019 05:11 Go to next message
Nagashree KN is currently offline Nagashree KNFriend
Messages: 32
Registered: September 2018
Member
Hi,

I have quit big grammar and i have unorder group(&) in most of the places.
While generating Xtext Artifacts for the same grammar, it is throwing "Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded" exception.

Can any one help me how i can solve this.

Thanks!!
Re: Getting java.lang.OutOfMemoryError: GC overhead limit exceeded exception [message #1811279 is a reply to message #1811278] Fri, 30 August 2019 05:13 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
did you try to increase Xmx?

Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Getting java.lang.OutOfMemoryError: GC overhead limit exceeded exception [message #1811281 is a reply to message #1811279] Fri, 30 August 2019 05:50 Go to previous messageGo to next message
Nagashree KN is currently offline Nagashree KNFriend
Messages: 32
Registered: September 2018
Member
Thanks for the quick replay.

Yes. I have tried by adding -Xms512m -Xmx2000m -XX:MaxPermSize=128m in mwe2 VM arguments.
But still i am getting the exception.
Re: Getting java.lang.OutOfMemoryError: GC overhead limit exceeded exception [message #1811282 is a reply to message #1811281] Fri, 30 August 2019 05:51 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
did you try even more e.g. 1 or 2 gb?

Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Getting java.lang.OutOfMemoryError: GC overhead limit exceeded exception [message #1811283 is a reply to message #1811282] Fri, 30 August 2019 05:52 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
you might also no use unordered groups but a mixed list instead and use validation and content assist customization to avoid the problem and have the same restrictions

Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Getting java.lang.OutOfMemoryError: GC overhead limit exceeded exception [message #1811284 is a reply to message #1811282] Fri, 30 August 2019 06:29 Go to previous messageGo to next message
Nagashree KN is currently offline Nagashree KNFriend
Messages: 32
Registered: September 2018
Member
I tried by increasing up to 2 GB. But it did not work.
Re: Getting java.lang.OutOfMemoryError: GC overhead limit exceeded exception [message #1811287 is a reply to message #1811284] Fri, 30 August 2019 07:04 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
did you try to profile what is happening? is the 2GB actually used?

Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Previous Topic:[OT] Looking for some help reviving an old Xtext project
Next Topic:Rule has non-LL(*) decision even tho its copied from a lecture
Goto Forum:
  


Current Time: Fri Apr 26 15:14:13 GMT 2024

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

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

Back to the top