Brian,

Thanks for the report.  That is good to know, and helpful.  :-)

But James really should not be loading the entire message content into
memory unless some matcher or mailet is asking for it, so it would be good
to track down what is causing the memory load.

        --- Noel

-----Original Message-----
From: Horsfall, Brian [mailto:[EMAIL PROTECTED]
Sent: Monday, June 23, 2003 13:21
To: James Users List
Subject: RE: 100MB email produces an out of memory exception


We are successfully passing 50 megabyte messages around with James.  We had
to set the spool manager to one thread to keep from processing 2 large
messages at once, which would typically trigger a JVM out of memory error.

If you have a dedicated server with lots of memory, you may be able to get
away with multiple threads.  We are running James on a shared server, so we
try and be good "citizens" by limiting our JVM to 256 megs of memory.

-Brian

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


> i am running James 2.1.3 (Win 2k - Sun Java 1.4.x), using the file
> system as mail store. Having set-up a single user, i send a 100MB
> email which produces an out of memory exception on the command
> line. No other log entries can be found.

Turn on DEBUG for all targets in SAR-INF/environment.xml, and let's get a
better idea of where it is happening.

> - What are your experiences with large emails (can it be done).

I've only done smaller numbers of megabyte mail.  Some people have reported
about 10MB or so.

> - How do i set the -xm memory switch for the JVM.

See run.bat

> - How do i put the JVM in server mode.

See run.bat

        --- Noel


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


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



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

Reply via email to