Results 1 to 5 of 5
  1. #1
    elsanthosh is offline Member
    Join Date
    Feb 2009
    Posts
    9
    Rep Power
    0

    Default java out of memory error-heap space error

    dear sir,

    i am developing swing application in netbeans 6.5 , its showing java out of memory error-heap space error ,how to increase java heap size in netbeans 6.5 ,can any body help me regarding this

    thank u
    santhosh babu

  2. #2
    r035198x is offline Senior Member
    Join Date
    Aug 2009
    Posts
    2,388
    Rep Power
    7

    Default

    Do you really have to increase that heap size? What if the problem lies withing your code and it's your code that you need to change?

  3. #3
    elsanthosh is offline Member
    Join Date
    Feb 2009
    Posts
    9
    Rep Power
    0

    Default

    no i didnt increase heap size,my swing application consists of totally five tapped pane window ,in one tapped pane consists of a five text field and five buttons and my system hard disk is only 2 gb free space ,i am getting memory heap error while dragging the textfield in design window.how to slove this problem.

  4. #4
    elsanthosh is offline Member
    Join Date
    Feb 2009
    Posts
    9
    Rep Power
    0

    Default java memory heap error

    no i didnt increase heap size,my swing application consists of totally five tapped pane window ,in one tapped pane consists of a five text field and five buttons and my system hard disk is only 2 gb free space ,i am getting memory heap error while dragging the textfield in design window.how to slove this problem.

  5. #5
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,755
    Rep Power
    19

    Default

    Isn't there some form of vm options file in the Netbeans directory?
    Should be something there to let you assign more memory to it (-Xmx).

    How big is your disk by the way?
    Just curious because if it's more than about 20gb then I'd consider giving it a damn good clean out.

    Also, do you have lots of other stuff running? Or not much RAM? Because if the VM is ending up using swap space on a disk that's nearly full I wouldn't be surprised if it hit an OOM.

Similar Threads

  1. Java heap space,
    By babyboban in forum Advanced Java
    Replies: 18
    Last Post: 01-14-2010, 12:22 PM
  2. How to over come java.lang.out of memory error
    By Chaitra_gm in forum New To Java
    Replies: 5
    Last Post: 09-28-2008, 10:33 AM
  3. Java heap space error
    By gezzel in forum New To Java
    Replies: 19
    Last Post: 09-25-2008, 12:07 AM
  4. Java heap space?
    By javanewbie in forum New To Java
    Replies: 1
    Last Post: 06-24-2008, 06:55 PM
  5. Java Heap Out of Memory Error
    By stonkers in forum New To Java
    Replies: 3
    Last Post: 07-17-2007, 04:43 PM

Posting Permissions

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