From: Dmitriy S. <sha...@gm...> - 2014-09-02 09:30:14
|
On Tue, Sep 2, 2014 at 5:35 AM, Alister Pillow <gsp...@gm...> wrote: > Thanks for your thoughts - I’ll stick with a wrapper element if it makes > no difference to the memory situation. I guess my concern is that there are > no explicit safeguards (in my code) for memory usage - and I don’t know > enough Java to know what will happen if someone tries to download a full > folder of mail messages. > You may limit this with counter to be not better than something. > The other issue now concerning me is that this is very slow. Maybe that’s > normal for mail. > It takes about 50 seconds to get the message list using a search on > Subject, and then another 40 to retrieve the 5 messages selected - and > that’s using my own ISP with only about 350 messages in the Inbox. > Hard to say, what protocol do you use for communication? -- Dmitriy Shabanov |