kasual

GC Out of Memory error solution

Sep 6th, 2016
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. Out of memory error (version 1.2-rc4 'Carnac' (298900 f95d7bdecfceb327f9d201a1348397ed8a843843 by [email protected])). GC overhead limit exceeded.
  2.  
  3. The solution that finally let me get past this error.
  4.  
  5. $ export _JAVA_OPTIONS="-Xms512m -Xmx4g -XX:-UseConcMarkSweepGC -XX:-UseGCOverheadLimit"
Advertisement
Add Comment
Please, Sign In to add comment