james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Saibabu Vallurupalli <saibabu.vallurupa...@gmail.com>
Subject Re: Mail Box Size
Date Mon, 09 Jul 2012 19:37:17 GMT
Hi Ioan,

Thank you for your response. I think I got what I am looking for the
largest message James can process and this can be of 1GB size.

Thanks, Sai


On Mon, Jul 9, 2012 at 3:29 PM, Ioan Eugen Stan <stan.ieugen@gmail.com>wrote:

> Hello Sai,
>
> The Mailbox size == the number of messages which is limited by the
> Message UID, which in turn is a 32 bit integer value;
>
> If you are referring to  the Message size, the JPA implementation is
> limited in [1] to 1GB.
>
>     /** The value for the body field. Lazy loaded */
>     /** We use a max length to represent 1gb data. Thats prolly
> overkill, but who knows */
>     @Basic(optional = false, fetch = FetchType.LAZY)
>     @Column(name = "MAIL_BYTES", length = 1048576000, nullable = false)
>     @Lob private byte[] body;
>
> I don't know any other limits.
>
>
> [1]
> http://svn.apache.org/repos/asf/james/mailbox/trunk/jpa/src/main/java/org/apache/james/mailbox/jpa/mail/model/openjpa/JPAMessage.java
>
>
> 2012/7/9 Saibabu Vallurupalli <saibabu.vallurupalli@gmail.com>:
> > Hi Team,
> > Good morning.
> >
> > Is there any limit to MailBox size? If Yes, what is the max limit I can
> set
> > to mail box? If I am using Apache James 3 beta3 version with MySQL do you
> > see any issues in handling large emails with attachments?
> >
> > I found there is a limitation in MySQL JDBC Driver where it can't stream
> > large data and the Driver causes OutOfMemory errors. If any one tried
> this
> > let me know the max file size you have processed so far without any
> issues.
> >
> > Appreciate your response.
> > Please let me know.
> >
> > Thanks, Sai
>
>
>
> --
> Ioan Eugen Stan / CTO / http://axemblr.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message