Skip to main content



      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 01:11 Go to next message
Eclipse UserFriend
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 01:13 Go to previous messageGo to next message
Eclipse UserFriend
did you try to increase Xmx?
Re: Getting java.lang.OutOfMemoryError: GC overhead limit exceeded exception [message #1811281 is a reply to message #1811279] Fri, 30 August 2019 01:50 Go to previous messageGo to next message
Eclipse UserFriend
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 01:51 Go to previous messageGo to next message
Eclipse UserFriend
did you try even more e.g. 1 or 2 gb?
Re: Getting java.lang.OutOfMemoryError: GC overhead limit exceeded exception [message #1811283 is a reply to message #1811282] Fri, 30 August 2019 01:52 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: Getting java.lang.OutOfMemoryError: GC overhead limit exceeded exception [message #1811284 is a reply to message #1811282] Fri, 30 August 2019 02:29 Go to previous messageGo to next message
Eclipse UserFriend
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 03:04 Go to previous message
Eclipse UserFriend
did you try to profile what is happening? is the 2GB actually used?
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: Sat May 17 00:04:39 EDT 2025

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

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

Back to the top