Tuesday, March 26, 2002 03:04 PM
I am getting 'Out of Memory' with
Error when I use the following code for INBOX that contains about 45000 msgs. How can avoid the error message and still using the FetchProfile ??? or what is the realy purpose of the FetchProfile and can I just not use it ?
FetchProfile fp = new FetchProfile();
Re: HELP !! FetchProfile is giving 'Out of Memory Error"
Thursday, April 11, 2002 02:29 AM
Why are you getting so many messages?
You can do it by less the messages number.
Message msg = folder.getMessages( iStart,iEnd );
Message msg = folder.getMessages();