Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2008
    Posts
    11
    Rep Power
    0

    Default java.lang.OutOfMemoryError: Java heap space

    When I am running the applet, am getting the error,

    I searched very throughly on interent but no avail, need to take the applet into account what I feel,


    java.lang.OutOfMemoryError: Java heap space
    at test1.init(Car.java:102)
    at sun.applet.AppletPanel.run(AppletPanel
    at java.lang.Thread.run(Thread.java:619)

    thanks in advance.

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,185
    Rep Power
    20

    Default

    You've run out of memory.
    The Applet memory is controlled by the client machine.
    JDK 1.6 update something or other (the latest will do it) has a change I think that allows you to specify the memory in the applet tag, but I can't guarantee that.

Similar Threads

  1. java.lang.OutOfMemoryError:Java heap space
    By newbiejava in forum New To Java
    Replies: 3
    Last Post: 08-22-2010, 10:00 AM
  2. Replies: 5
    Last Post: 08-13-2010, 11:04 AM
  3. java.lang.OutOfMemoryError: Java heap space
    By paul in forum Advanced Java
    Replies: 11
    Last Post: 06-12-2010, 06:30 PM
  4. Replies: 3
    Last Post: 04-22-2009, 09:25 PM
  5. java.lang.OutOfMemoryError: Java heap space
    By vidjogamer in forum New To Java
    Replies: 3
    Last Post: 02-06-2009, 07:52 AM

Posting Permissions

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