Results 1 to 3 of 3
  1. #1
    javaplus is offline Member
    Join Date
    Nov 2007
    Posts
    97
    Rep Power
    0

    Default OutOfMemoryError

    Hi,
    I have an application that is making a lot of Java objects. I am getting OutOfMemoryError error. I understand that I might be running short of RAM but if I start calling GC in between, can this be resolved?

    Regards.

  2. #2
    hardwired's Avatar
    hardwired is offline Senior Member
    Join Date
    Jul 2007
    Posts
    1,576
    Rep Power
    9

    Default

    Java should take care of GC on its own. It won't gc anything that has a reference to it.

  3. #3
    javaplus is offline Member
    Join Date
    Nov 2007
    Posts
    97
    Rep Power
    0

    Default

    Ok - so it doesn't make any sense to call GC as objects won't are being reffered.

Similar Threads

  1. java.lang.OutOfMemoryError: Java heap space
    By paul in forum Advanced Java
    Replies: 11
    Last Post: 06-12-2010, 06:30 PM
  2. OutOfMemoryError: Unable to Start New Native Thread
    By edwin11 in forum Advanced Java
    Replies: 0
    Last Post: 11-16-2007, 02:47 PM
  3. java.lang.OutOfMemoryError with java vector
    By mary in forum New To Java
    Replies: 3
    Last Post: 08-03-2007, 11:55 AM
  4. Replies: 1
    Last Post: 05-20-2007, 09:52 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
  •