The Artima Developer Community
Sponsored Link

Java Answers Forum
OutOfMemoryException in java

5 replies on 1 page. Most recent reply: Feb 13, 2004 9:07 AM by Adam Duffy

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 5 replies on 1 page
mahashankar sarangapani

Posts: 7
Nickname: greatmaha
Registered: Feb, 2004

OutOfMemoryException in java Posted: Feb 6, 2004 12:00 AM
Reply to this message Reply
Advertisement
Hi
How to resolve this exception in applet programming.
Thanking in advance
s mahashankar


Adam Duffy

Posts: 168
Nickname: adamduffy
Registered: Feb, 2003

Re: OutOfMemoryException in java Posted: Feb 6, 2004 3:34 AM
Reply to this message Reply
This error is usually (but not always) caused by some loop without a terminating condition or where the terminating condition is not being met.

Adam

mahashankar sarangapani

Posts: 7
Nickname: greatmaha
Registered: Feb, 2004

Re: OutOfMemoryException in java Posted: Feb 8, 2004 12:18 AM
Reply to this message Reply
Thank you for ur Reply.
I didn't use any for loop at all. This error is occured by using images in applet.

mausam

Posts: 243
Nickname: mausam
Registered: Sep, 2003

Re: OutOfMemoryException in java Posted: Feb 11, 2004 6:02 AM
Reply to this message Reply
code please..

loading image might be creating problem then

mahashankar sarangapani

Posts: 7
Nickname: greatmaha
Registered: Feb, 2004

Re: OutOfMemoryException in java Posted: Feb 13, 2004 5:14 AM
Reply to this message Reply
It is occured in dithering algorithm, if the image size is very large . Some images are not throwing this exception.

Adam Duffy

Posts: 168
Nickname: adamduffy
Registered: Feb, 2003

Re: OutOfMemoryException in java Posted: Feb 13, 2004 9:07 AM
Reply to this message Reply
Maybe some sort of file streaming is needed? I'm guessing that you're trying to load in the entire image before performing the dithering algorithm?

Adam

Flat View: This topic has 5 replies on 1 page
Topic: NetBeans UML plug-in Previous Topic   Next Topic Topic: a couple of newbie questions ..

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use