sgane wrote:
> Hi friends,
> I want to display a message in an editor pane. There's no
> problem in case of small sized messages. But when the size exceeds,
> 1.5MB I takes a lot of time to get the body of the message.
> I'm using mime message for getting the body of the message
> from the server. I'm seperating the multipart message recursively to
> get the various body parts. The problem is with getContent() method.
> It takes time to load the large body part into the ram.
> Is there any solution for this?
1. Use smaller messages.
2. Make the server do the filtering, not the client. Example: run a database
on the server side and issue an SQL query from the client that extracts
only the relevant text.
3. Restructure your data so it is organized more efficiently.
--
Paul Lutus
http://www.arachnoid.com