Hi, Sorry for the delay, I have been very busy lately. Here goes my test suite.
I have a load generator program that sends all the mails stored in a directory. I also have an Ant target to deploy my mailets to James 2.0a3: - Serializer permits saving to a file a mail that you create with Outlook and send via James. - MemoryPrinter prints memory every 100 mails (based on the mail subject set by the load generator). It is very simple, but I hope that it meets your expectations. Diego -----Message d'origine----- De�: Maxime Levesque [mailto:maxime.levesque@;webhelp.com] Envoy�: jeudi 17 octobre 2002 17:57 ��: James Users List Objet�: Re: RE : James memory leak I'd like to run your load test (James would be very usefull for our product but only without the leak !) I'll give a shot at trying to solve it... I'd like to use your test suite, can you send it to me (or post it to the list) ? >Hi Noel, > >I upgraded to 2.1a1-2002-09-24 and repeated my test scenario: > - W2K SP2 + JDK 1.3.1 + James 2.1a1 > - Continuous load of 10 mails/second > >JVM heap size increases and causes James to hang up with an >OutOfMemoryError in less than 2 minutes: same behaviour as in 2.0a3. >Here go my figures: > >Mail # Total memory Free memory >0 4.6484375 1.7053909 >100 11.8828125 5.2133255 >200 19.972656 7.305504 >300 19.972656 2.5455475 >400 33.347656 9.997406 >500 33.347656 5.209381 >600 54.476562 21.393051 >700 54.476562 15.805206 >800 54.476562 10.835602 >900 54.476562 5.9031982 >1000 54.726562 1.1683655 >1100 63.75 7.1124954 >1200 63.75 0.77523804 > >I have followed up the thread, but I have not completely understood your >point on the scheduler issue. Do you mean that the memory leak may go >off if I reduce the mail flow? Is it possible to estimate a maximum >throughput for the scheduler issue to disappear? > >Thanks, > > >Diego > >-----Message d'origine----- >De : Noel J. Bergman [mailto:noel@;devtech.com] >Envoy� : vendredi 11 octobre 2002 17:46 >� : James Users List; [EMAIL PROTECTED] >Objet : RE: James memory leak > >Known issue. Please try the 2.1 code, and let us know what you see. > > --- Noel > >-----Original Message----- >From: Diego Castillo [mailto:diego.castillo@;inexbee.com] >Sent: Friday, October 11, 2002 9:29 >To: [EMAIL PROTECTED] >Cc: Diego Castillo, INEXBEE >Subject: James memory leak > > >Hi, > >I am using James 2.0a3 with JDK 1.3.1 on W2K machine. > >I am experiencing a memory leak in my application. During my >troubleshooting I have finally removed all my mailets in order to test >James alone. The memory leak persists! > >This is my scenario: > - I have a load generator that sends 10 mail/second. Mails have >different sizes, with an average of 11Kb. > - On the James size, I have a mailet that prints the JVM total and free >memory (in Mb) every 100 messages. Here you have my spoolmanager >configuration and the results that I get: > ><spoolmanager> > <threads>1</threads> > <mailetpackages> > <mailetpackage>org.apache.james.transport.mailets</mailetpackage> > <mailetpackage>test</mailetpackage> > </mailetpackages> > <matcherpackages> > <matcherpackage>org.apache.james.transport.matchers</matcherpackage> > </matcherpackages> > <processor name="root"> > <mailet match="All" class="MemoryPrinter"/> > <mailet match="All" class="Null"/> > </processor> ></spoolmanager> > >Mail # Total memory Free memory >0 2.5820312 0.5600738 >100 5.6132812 1.6391296 >200 9.0234375 2.3683395 >300 15.128906 5.4931946 >400 15.128906 3.0394592 >500 25.488281 10.329994 >600 25.488281 7.8969116 >700 25.488281 3.9112778 >800 25.488281 1.5132217 >900 42.125 16.21582 >1000 42.125 12.281708 >1100 42.125 10.111511 >1200 42.125 7.9458237 >1300 42.125 3.9470978 >1400 42.125 1.725914 >1500 63.75 23.18071 >1600 63.75 19.276215 >1700 63.75 17.146133 >1800 63.75 14.976295 >1900 63.75 11.164001 >2000 63.75 9.04203 >2100 63.75 7.0878906 >2200 63.75 4.38665 > >James crashes in less than 4min with an OutOfMemoryError. JVM options >that increase heap size would only make this happen a little bit later >:-( > >Has anyone experienced this before? Any suggestions about a better JVM >or a different James version? May this come from Avalon? > >Regards, > > >Diego > > >-- >To unsubscribe, e-mail: ><mailto:james-user-unsubscribe@;jakarta.apache.org> >For additional commands, e-mail: ><mailto:james-user-help@;jakarta.apache.org> > > >-- >To unsubscribe, e-mail: ><mailto:james-user-unsubscribe@;jakarta.apache.org> >For additional commands, e-mail: ><mailto:james-user-help@;jakarta.apache.org> > > >-- >To unsubscribe, e-mail: <mailto:james-user-unsubscribe@;jakarta.apache.org> >For additional commands, e-mail: <mailto:james-user-help@;jakarta.apache.org> > -- To unsubscribe, e-mail: <mailto:james-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:james-user-help@;jakarta.apache.org>
TestJames.zip
Description: Zip compressed data
-- To unsubscribe, e-mail: <mailto:james-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:james-user-help@;jakarta.apache.org>
