Results 1 to 6 of 6
  1. #1
    Java.child is offline Member
    Join Date
    Sep 2008
    Posts
    32
    Rep Power
    0

    Default Out of memory error in eclipse

    Hi,
    I was working on eclipse and all of the sudden i got one pop up of out of memory error in eclipse which says subsequent errors may happen and may terminate the workbench without warning.From the last few days I am facing C drive space problem.Is it cause of that?

    Now what I need to do to avoid these errors.On the regular bases I cleaned my drives,
    One more thing some time when I worked on my system i got low virtual memory error.Actually I have a old system and don't have much memory space.What are the best way to manage this problem.

    Here I am attaching the error message.
    Thanks
    Attached Files Attached Files

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,572
    Rep Power
    25

    Default

    Is this a java programming problem or an eclipse problem?
    Do you have the same problem running the program without eclipse?

  3. #3
    Supamagier is offline Senior Member
    Join Date
    Aug 2008
    Posts
    384
    Rep Power
    7

    Default

    make a .bat file with this:
    Java Code:
    @echo off
    java -Xmx256mPATH
    and run it.

    If you still get an out of memory error, you should improve your code...
    I die a little on the inside...
    Every time I get shot.

  4. #4
    Java.child is offline Member
    Join Date
    Sep 2008
    Posts
    32
    Rep Power
    0

    Default

    Where I save this .bat file?

  5. #5
    Supamagier is offline Senior Member
    Join Date
    Aug 2008
    Posts
    384
    Rep Power
    7

    Default

    in the root map. If you don't use self-made packages, you just save it in the same map as your code.
    I die a little on the inside...
    Every time I get shot.

  6. #6
    Supamagier is offline Senior Member
    Join Date
    Aug 2008
    Posts
    384
    Rep Power
    7

    Default

    Oh, there should be a space between 256m and 'PATH'
    I die a little on the inside...
    Every time I get shot.

Similar Threads

  1. Eclipse project error
    By bhanu in forum Eclipse
    Replies: 8
    Last Post: 09-07-2011, 02:56 PM
  2. Replies: 2
    Last Post: 08-21-2008, 07:33 PM
  3. Low memory error
    By rlhs76 in forum New To Java
    Replies: 2
    Last Post: 02-08-2008, 10:25 PM
  4. How to reduce the size or avoiding out of memory error?
    By rajeshkumarmsc in forum Advanced Java
    Replies: 3
    Last Post: 08-11-2007, 10:15 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
  •