TI Logbook

Java, Angular, Eclipse, PostgreSQL, SQL, Tips....

Saturday, July 8, 2017

Solution: Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded

Problem: Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded

Solution: Run / Run Configurations / Java Application (select the class) / Arguments / VM arguments

-Xms512M -Xmx1024M
 
Or
 
-Xms1024M -Xmx2048M
 

Xms - for minimum limit

Xmx - for maximum limit
Posted by Jose Velasquez at 4:56 AM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Labels

  • Angular (1)
  • Builder (1)
  • error TS2531 (1)
  • Form Builder (2)
  • hasError (1)
  • Lombok (1)
  • Maven (1)

Search This Blog

Blog Archive

  • ►  2022 (1)
    • ►  December (1)
  • ►  2021 (3)
    • ►  June (1)
    • ►  May (1)
    • ►  April (1)
  • ►  2019 (1)
    • ►  February (1)
  • ►  2018 (2)
    • ►  June (1)
    • ►  May (1)
  • ▼  2017 (6)
    • ►  August (1)
    • ▼  July (1)
      • Solution: Exception in thread "main" java.lang.Out...
    • ►  June (2)
    • ►  May (2)
  • ►  2016 (10)
    • ►  July (2)
    • ►  March (1)
    • ►  February (5)
    • ►  January (2)
  • ►  2015 (38)
    • ►  December (4)
    • ►  November (9)
    • ►  October (1)
    • ►  August (4)
    • ►  July (9)
    • ►  June (3)
    • ►  May (6)
    • ►  April (2)
  • ►  2014 (12)
    • ►  November (1)
    • ►  October (3)
    • ►  September (4)
    • ►  August (4)
  • ►  2013 (2)
    • ►  September (1)
    • ►  May (1)
  • ►  2011 (4)
    • ►  January (4)
  • ►  2010 (2)
    • ►  December (1)
    • ►  October (1)

Total Pageviews

Simple theme. Powered by Blogger.