This page contains an archived post to the Design Forum (formerly called the Flexible Java Forum) made prior to February 25, 2002.
If you wish to participate in discussions, please visit the new
Dear All, Iam doing a project on swing in that iam getting problem.Here is this I want to read and write an 150mb file in the terms of bytes. For that i used the code // int size = (int)fileObj.Length(); byte b = null; b = new byte(size); Here iam getting out of memory exception. i want a code to come out of the this out of memory exception. Please Any body can help me from this problem.Iam waiting for your reply. regards surya