Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Is there a memory limitation to byte arrays?

843807Dec 20 2001 — edited Jan 14 2002
Everyone,

I have a huge(16MB) CMYK source file and I am trying to convert it to a sRGB /JPEG file and then compress it.
When I try to read that file into a byte array it chokes and throws an OutOfMemoryException. Is there a way around this?

thanks,

Barat.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 11 2002
Added on Dec 20 2001
13 comments
509 views