Edward Tan wrote:
> Yes!
>
> } catch(Throwable t) {
> System.out.println(t.getMessage());
> t.printStackTrace();
>
> ====>
>
> Java heap space
> java.lang.OutOfMemoryError: Java heap space
The only solution is to increase the memory available to java (-Xmx500M
for example)
Otherwise you could try the com.sun.mail.util.SharedByteArrayInputStream
way to see if javamail will require less memory. If you try this way and
it works please tell us so we can decide wether to include it in our
codebase or not.
Stefano
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]