Hi,

I have replicated the OutOfMemoryException with heap profiling on.

On P500 with 512 Meg ram. (running numerous other desktop applications
however)
James 2.2.0a7
No custom -Xms -Xmx switches
Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode)
Sending an email from local machine, to James on local machine.
James configuration is essentially as how it is shipped. (file repository
etc)
Small emails send and receive normally

I sent an email with attachments of aproximately 10Meg.

These are the VM switches I used
-Xrunhprof:cpu=samples,file=log.txt,depth=10

Here's the relevant bit from the SpoolManager log

Attached is the log file of the heap profile.  (416k unzipped)
It doesn't mean much to me.  Hope it means something to you.

Thanks
lindsay

25/06/03 14:33:19 DEBUG spoolmanager.root: Servicing Mail1056551278155-0 by
ToProcessor Mailet
25/06/03 14:33:19 DEBUG spoolmanager: Processed Mail1056551278155-0 through
root
25/06/03 14:33:19 DEBUG spoolmanager: Result was transport
25/06/03 14:33:19 DEBUG spoolmanager: ==== Begin processing mail
Mail1056551278155-0====
25/06/03 14:33:19 DEBUG spoolmanager: Processing Mail1056551278155-0 through
transport
25/06/03 14:33:19 DEBUG spoolmanager.transport: Servicing mail:
Mail1056551278155-0
25/06/03 14:33:19 DEBUG spoolmanager.transport: Checking Mail1056551278155-0
with [EMAIL PROTECTED]
25/06/03 14:33:19 DEBUG spoolmanager.transport: Servicing
Mail1056551278155-0 by Local Delivery Mailet
25/06/03 14:33:38 ERROR spoolmanager: Exception in processor <transport>
java.lang.OutOfMemoryError
25/06/03 14:33:38 ERROR spoolmanager: An error occurred processing
Mail1056551278155-0 through transport
25/06/03 14:33:38 ERROR spoolmanager: Result was error
25/06/03 14:33:38 DEBUG spoolmanager: Processing Mail1056551278155-0 through
error
25/06/03 14:33:38 DEBUG spoolmanager.error: Servicing mail:
Mail1056551278155-0
25/06/03 14:33:38 DEBUG spoolmanager.error: Checking Mail1056551278155-0
with [EMAIL PROTECTED]
25/06/03 14:33:38 DEBUG spoolmanager.error: Servicing Mail1056551278155-0 by
ToRepository Mailet
25/06/03 14:33:50 DEBUG spoolmanager: Processed Mail1056551278155-0 through
error
25/06/03 14:33:50 DEBUG spoolmanager: Result was ghost
25/06/03 14:33:50 DEBUG spoolmanager: ==== Removed from spool mail
Mail1056551278155-0====

-----Original Message-----
From: Noel J. Bergman [mailto:[EMAIL PROTECTED]
Sent: 23 June 2003 23:24
To: James Users List; [EMAIL PROTECTED]
Subject: RE: 100MB email produces an out of memory exception


> When I've seen the OutOfMemoryException it's when using just the standard
> mailets.

If you can give us an idea of which one(s) that might be helpful.  Auditing
the package for code that loads the message into memory is a side-project
that someone might want to pickup.

        --- Noel


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Attachment: Log.zip
Description: Zip compressed data

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to