Results 1 to 2 of 2
  1. #1
    Yaten13 is offline Member
    Join Date
    Sep 2010
    Rep Power

    Default cant disable GCOverheadLimit in netbeans!

    I'm working with a large informatics program and keep getting this error:
    Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded
    Searching online it is a performance drop warning, and supposedly can be disabled. I'm starting netbeans with the command

    brian@ubuntu:~$ /usr/bin/netbeans -J-Xmx2g -XX:-UseGCOverheadLimit

    But I get the error:
    Unknown option -XX:-UseGCOverheadLimit

    I just need my program to run despite the slowdown so I can get my data. Any ideas how to disable GCOverheadLimit in netbeans?

    Thanks for your help

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Rep Power


    You need the "-J" for each option associated with the JVM.
    Currently it thinks the "-XX:..." is an option for netbeans.

Similar Threads

  1. Disable xml tag on run time
    By venkatragh in forum XML
    Replies: 0
    Last Post: 04-30-2010, 08:56 AM
  2. How to disable the whole fieldset
    By amma2009 in forum Advanced Java
    Replies: 0
    Last Post: 01-29-2010, 04:47 PM
  3. How to disable one particular Log.Level in log4j
    By bhupal4all in forum Advanced Java
    Replies: 0
    Last Post: 11-25-2008, 08:43 AM
  4. How to disable the form
    By lukky in forum JavaServer Pages (JSP) and JSTL
    Replies: 2
    Last Post: 08-05-2008, 03:00 PM
  5. disable parent window
    By ismailsaleh in forum AWT / Swing
    Replies: 1
    Last Post: 01-08-2008, 12:15 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts