The Artima Developer Community
Sponsored Link

Legacy Design Forum
Finalization and Cleanup

Advertisement

Advertisement

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 Artima Forums.

Message:

Iam getting out of memory exption in my project please any body can help me Ill be waiting for your valuable reply

Posted by surya on October 15, 2001 at 8:00 AM

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




Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us