Hi guys,

Conceptual question for you, if you don't mind.

Why is one able to load images up in various C/C++ image viewer
applications (for instance, Windows XP's ImageViewer application) and
use very little memory, but if you load the same image in a java
application you consume a substantial amount of memory?

I know you have to consider the overhead the JVM adds to the picture,
but I'm surprised that it seems to be so much.  I end up getting
OutOfMemory exceptions for images I really don't expect to, and have to
up my JVM to well over 128MB heap space for most images.

Forgive me if this is a naive question, but I can't really see anything
in my application that seems to be causing this.  Is C/C++ really that
much more efficient for imaging applications on the memory side?

Thanks for your help.
John

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to