Thanks. For any other curious Win32 users out there... here's how I got big
attachments working

this can be done by setting an environment variable named PHOENIX_JVM_OPTS
then add the -Xms and the -Xmx options in the value.
-Xms sets the size of the initial memory pool
-Xmx sets the max size

Here's an example with the initial size of 4MB and a max of 128MB (the JVM
default is 2M and 64M):
-Xms4M -Xmx128M


----- Original Message -----
From: "Steve Brewin" <[EMAIL PROTECTED]>
To: "'James Users List'" <[EMAIL PROTECTED]>
Sent: Sunday, January 25, 2004 7:05 PM
Subject: RE: max attachment size?


> J Rollo --Admin wrote:
> >
> >
> > I get a
> >
> > java.lang.OutOfMemoryError
> > java.lang.OutOfMemoryError
> > java.lang.OutOfMemoryError
> > java.lang.OutOfMemoryError
> > .
> > .
> > .
> >
> > message when I send a message with a big attachment (10mb
> > most recently).
> > I have to clean the message out of the spool manually to get
> > James back to
> > normal.
> > My message size is set for unlimited message size in the config.
> > Any ideas on how to get James to handle big attachments?
>
> Basically, increase your JVM's maximum heap size.
>
> There is lots of discussion about this that you may find of use on the
list
> archive - http://nagoya.apache.org/eyebrowse/SummarizeList?listId=21.
>
> -- Steve
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------
Support Open Source,
Demand Quality Software

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

Reply via email to