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

    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
    Posts
    11,967
    Rep Power
    19

    Default

    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, 07:56 AM
  2. How to disable the whole fieldset
    By amma2009 in forum Advanced Java
    Replies: 0
    Last Post: 01-29-2010, 03: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, 07:43 AM
  4. How to disable the form
    By lukky in forum JavaServer Pages (JSP) and JSTL
    Replies: 2
    Last Post: 08-05-2008, 02:00 PM
  5. disable parent window
    By ismailsaleh in forum AWT / Swing
    Replies: 1
    Last Post: 01-07-2008, 11:15 PM

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
  •