[jira] [Resolved] (JAMES-2313) Recuring OutOfMemory exception while playing Cassandra JMAP integration tests

2018-01-28 Thread Tellier Benoit (JIRA)
[ https://issues.apache.org/jira/browse/JAMES-2313?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tellier Benoit resolved JAMES-2313. --- Resolution: Fixed > Recuring OutOfMemory exception while playing Cassandra JMAP integrat

[jira] [Closed] (JAMES-2313) Recuring OutOfMemory exception while playing Cassandra JMAP integration tests

2018-01-28 Thread Tellier Benoit (JIRA)
[ https://issues.apache.org/jira/browse/JAMES-2313?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tellier Benoit closed JAMES-2313. - > Recuring OutOfMemory exception while playing Cassandra JMAP integration te

[jira] [Created] (JAMES-2313) Recuring OutOfMemory exception while playing Cassandra JMAP integration tests

2018-01-23 Thread Tellier Benoit (JIRA)
Tellier Benoit created JAMES-2313: - Summary: Recuring OutOfMemory exception while playing Cassandra JMAP integration tests Key: JAMES-2313 URL: https://issues.apache.org/jira/browse/JAMES-2313

Re: Re: OutOfMemory exception

2010-04-20 Thread Eric Charles
Hi Norman, It is now working as I would expect: deleted mails via imap are no more dowloaded via pop3, after thunderbird exit of course doing the expunge. Just for the record, I am pretty sure the behaviour was not correct with the versions that were producin oom. Probably nothing to do with

Re: Re: OutOfMemory exception

2010-04-20 Thread Norman Maurer
Nice to hear this.. Did you switch to IMAP netty yet ? Bye, Norman 2010/4/20 Eric Charles eric.char...@u-mangate.com: Hi Norman, It is now working as I would expect: deleted mails via imap are no more dowloaded via pop3, after thunderbird exit of course doing the expunge. Just for the

Re: OutOfMemory exception

2010-04-06 Thread Eric Charles
Hi Norman, james revision 930727 (mina RC1, jdk 1.6.0_18) up-and-running since 1,5 day in prod. jmap -dump:file=... (this morning and right now) shows org.apache.derby.impl.services.cache.Clock with 15% of Heap, less for the rest. However, I had to redefine all accounts as IMAP in

Re: OutOfMemory exception

2010-04-06 Thread Eric Charles
One more information. Actions taken via IMAP are net reflected on POP3 : deleting a mail via IMAP, you will still have to download it via POP3. I don't know if this can help, neither if the goal is to have the same behaviour via IMAP and POP3. Tks, Eric On 04/06/2010 05:41 PM, Eric Charles

Re: OutOfMemory exception

2010-04-06 Thread Norman Maurer
Hi Eric, I could only of one change which could maybe improve things and so you don't see the OOM anymore. The patch introduced in revision r930727. This patch changed the behavoir of pop3servers RETR and TOP handler to not load the email in the memory while return it to the client. Do you know

Re: OutOfMemory exception

2010-04-06 Thread Norman Maurer
Hmm.. are you sure thunderbird is calling expunge ? Thx, Norman 2010/4/6 Eric Charles eric.char...@u-mangate.com: One more information. Actions taken via IMAP are net reflected on POP3 : deleting a mail via IMAP, you will still have to download it via POP3. I don't know if this can help,

Re: OutOfMemory exception

2010-04-06 Thread Eric Charles
Hi Norman, Strange, POP3 is now working correctly. Regarding expunge, It is disabled by default on thunderbird. If I enable it, it seems to remove all mails from the folder, even if I don't delete them. Remembering the qmail/courrier/... server I was running a few years ago, I had a

Re: OutOfMemory exception

2010-04-06 Thread Norman Maurer
Hi Eric, I was refering to expunge while using imap... Bye, Norman 2010/4/6 Eric Charles eric.char...@u-mangate.com: Hi Norman, Strange, POP3 is now working correctly. Regarding expunge, It is disabled by default on thunderbird. If I enable it, it seems to remove all mails from the folder,

Re: OutOfMemory exception

2010-04-02 Thread Eric Charles
nop. OutOfMemoryError is back. I will double check my server, jdk and environment config, but other java processes are running on the same machine without problem. I will also have a stress scenario on my local dev PC that runs fine and after, I will rerun it on my production server. Dump

Re: OutOfMemory exception

2010-04-02 Thread Norman Maurer
Hi Eric so at least the files not leak anymore, unfortunaly this was the less critical problem. About the errors in pop3server I will have a look and see what could cause this. I'm 100 % sure it's not related to the OOM. Any more infos related to the OOM are welcome. Bye Norman 2010/4/2, Eric

Re: OutOfMemory exception

2010-04-02 Thread Norman Maurer
Hi Eric, I forgot to mention that one cause of the OOM could be the current usage of InMemoryMail. At the moment James load the whole MimeMessage into memory while processing the camel routes. This is really a bad practice in terms of performance and could maybe cause a OOM if you processing many

Re: OutOfMemory exception

2010-04-01 Thread Eric Charles
are welcome :) 2010/3/29 Eric Charleseric.char...@u-mangate.com: Hi, The last two weeks, I deployed various trunk snapshots. After james running less than 1 day, I always ran into a OutOfMemory Exception. I analysed the logs (for example STACK TRACE 1 in annex

Re: OutOfMemory exception

2010-04-01 Thread Eric Charles
are active etc ? Thx, Norman Ps: Patches are welcome :) 2010/3/29 Eric Charleseric.char...@u-mangate.com: Hi, The last two weeks, I deployed various trunk snapshots. After james running less than 1 day, I always ran into a OutOfMemory Exception. I analysed

Re: OutOfMemory exception

2010-04-01 Thread Norman Maurer
into a OutOfMemory Exception. I analysed the logs (for example STACK TRACE 1 in annex), and always found Camel complaining when trying to deliver on JMS queue. I tried to adapt the ActiveMQ configuration based on http://activemq.apache.org/javalangoutofmemory.html but nothing helped. I also

Re: OutOfMemory exception

2010-04-01 Thread Stefano Bagnara
2010/4/1 Eric Charles eric.char...@u-mangate.com: Caused by: org.apache.openjpa.lib.jdbc.ReportingSQLException: Java exception: 'Java heap space: java.lang.OutOfMemoryError'. {prepstmnt 1363215207 INSERT INTO Message (id, bodyStartOctet, content, contentOctets, [...] So still a OOM exception

Re: OutOfMemory exception

2010-04-01 Thread Norman Maurer
day, I always ran into a OutOfMemory Exception. I analysed the logs (for example STACK TRACE 1 in annex), and always found Camel complaining when trying to deliver on JMS queue. I tried to adapt the ActiveMQ configuration based on http://activemq.apache.org/javalangoutofmemory.html

Re: OutOfMemory exception

2010-04-01 Thread Eric Charles
Tks Stefano for the precisions. I keep these in mind and already took last week some head dumps via -XX:+HeapDumpOnOutOfMemoryError and jmap. I have to further analyze the dumps and run full profiling this weekend. For sure increasing the memory will still produce a OOM, but I have a bit more

Re: OutOfMemory exception

2010-04-01 Thread Steve Short
Load a heap dump into this Memory Analyzer tool, http://www.eclipse.org/mat/. It'll analyze the data and should list the suspects for you. Steve On 01/04/2010 08:58, Eric Charles eric.char...@u-mangate.com wrote: Tks Stefano for the precisions. I keep these in mind and already took last

Re: OutOfMemory exception

2010-04-01 Thread Norman Maurer
Hi Eric, I did a stress test in the last few hours (running in the background here) and I was not able to get a OOM yet with ?broker.useJmx=falseamp;jms.prefetchPolicy.all=1 for the jmsConnectionFactory. I sent 4 emails with 100k to it and 3000 with 5 mb. I'm using -Xmx512m and memory usage

Re: OutOfMemory exception

2010-04-01 Thread Norman Maurer
Hi Eric, its me again ;) Could you please svn up to latest trunk and try again ? Thx, Norman 2010/4/1 Norman Maurer norman.mau...@googlemail.com: Hi Eric, I did a stress test in the last few hours (running in the background here) and I was not able to get a OOM yet with

Re: OutOfMemory exception

2010-04-01 Thread Eric Charles
Hello Norman, Done :) Tks, Eric PS1 : I didn't change the config, except for the JDCBDomainList I am using. PS2 : I only checkout http://svn.apache.org/repos/asf/james/server/trunk and not the other projects. From what I read from the poms, snapshot version of imap-mailbox, jsieve,... are

Re: OutOfMemory exception

2010-04-01 Thread Eric Charles
James survived the night. 300MB (exactly the same as when it started). No m64 file in tmp. I will post another update this evening. Tks, Eric On 04/01/2010 07:06 PM, Norman Maurer wrote: Yeah thats right.. just checout server/trunk. I'm looking forward to hear your feedback ;) Bye, Norman

Re: OutOfMemory exception

2010-03-31 Thread Eric Charles
Charleseric.char...@u-mangate.com: Hi, The last two weeks, I deployed various trunk snapshots. After james running less than 1 day, I always ran into a OutOfMemory Exception. I analysed the logs (for example STACK TRACE 1 in annex), and always found Camel complaining when

Re: OutOfMemory exception

2010-03-31 Thread Norman Maurer
snapshots. After james running less than 1 day, I always ran into a OutOfMemory Exception. I analysed the logs (for example STACK TRACE 1 in annex), and always found Camel complaining when trying to deliver on JMS queue. I tried to adapt the ActiveMQ configuration based on http

Re: OutOfMemory exception

2010-03-31 Thread Norman Maurer
weeks, I deployed various trunk snapshots. After james running less than 1 day, I always ran into a OutOfMemory Exception. I analysed the logs (for example STACK TRACE 1 in annex), and always found Camel complaining when trying to deliver on JMS queue. I tried to adapt the ActiveMQ

OutOfMemory exception

2010-03-29 Thread Eric Charles
Hi, The last two weeks, I deployed various trunk snapshots. After james running less than 1 day, I always ran into a OutOfMemory Exception. I analysed the logs (for example STACK TRACE 1 in annex), and always found Camel complaining when trying to deliver on JMS queue. I tried to adapt

Re: OutOfMemory exception

2010-03-29 Thread Norman Maurer
-3 pid to see what threads are active etc ? Thx, Norman Ps: Patches are welcome :) 2010/3/29 Eric Charles eric.char...@u-mangate.com: Hi, The last two weeks, I deployed various trunk snapshots. After james running less than 1 day, I always ran into a OutOfMemory Exception. I analysed

Re: OutOfMemory exception

2010-03-29 Thread Norman Maurer
:) 2010/3/29 Eric Charles eric.char...@u-mangate.com: Hi, The last two weeks, I deployed various trunk snapshots. After james running less than 1 day, I always ran into a OutOfMemory Exception. I analysed the logs (for example STACK TRACE 1 in annex), and always found Camel complaining

Re: OutOfMemory exception

2010-03-29 Thread Eric Charles
run a kill -3 pid to see what threads are active etc ? Thx, Norman Ps: Patches are welcome :) 2010/3/29 Eric Charleseric.char...@u-mangate.com: Hi, The last two weeks, I deployed various trunk snapshots. After james running less than 1 day, I always ran into a OutOfMemory Exception. I

Re: OutOfMemory exception

2010-03-29 Thread Norman Maurer
are active etc ? Thx, Norman Ps: Patches are welcome :) 2010/3/29 Eric Charleseric.char...@u-mangate.com: Hi, The last two weeks, I deployed various trunk snapshots. After james running less than 1 day, I always ran into a OutOfMemory Exception. I analysed the logs (for example STACK

Re: OutOfMemory exception

2010-03-29 Thread Eric Charles
into a OutOfMemory Exception. I analysed the logs (for example STACK TRACE 1 in annex), and always found Camel complaining when trying to deliver on JMS queue. I tried to adapt the ActiveMQ configuration based on http://activemq.apache.org/javalangoutofmemory.html but nothing helped. I also analyzed various

Re: OutOfMemory exception

2010-03-29 Thread Eric Charles
always ran into a OutOfMemory Exception. I analysed the logs (for example STACK TRACE 1 in annex), and always found Camel complaining when trying to deliver on JMS queue. I tried to adapt the ActiveMQ configuration based on http://activemq.apache.org/javalangoutofmemory.html but nothing helped. I

Re: OutOfMemory exception

2010-03-29 Thread Eric Charles
-mangate.com: Hi, The last two weeks, I deployed various trunk snapshots. After james running less than 1 day, I always ran into a OutOfMemory Exception. I analysed the logs (for example STACK TRACE 1 in annex), and always found Camel complaining when trying to deliver on JMS queue. I tried

Re: OutOfMemory exception

2010-03-29 Thread Norman Maurer
Charleseric.char...@u-mangate.com: Hi, The last two weeks, I deployed various trunk snapshots. After james running less than 1 day, I always ran into a OutOfMemory Exception. I analysed the logs (for example STACK TRACE 1 in annex), and always found Camel complaining when trying