Hi, Please refer to my previous post about James SMTPServer load test for more details on this issue. In short: 1. James SMTPServer part was tested for number of incoming 4KB mails it can accept 2. All other parts of James were not in use by commenting out mailServer.sendMail(mail); @line 615 in SMTPHandler. 3. James SMTPServer crashed after certain number of requests with OutOfMemory exception
Studying the results of my previous tests showed most likely the problem is in how SMTPHandler unallocates resources when connection has to be released. In fact it didn't do any resources release. So I put my efforts in refactoring SMTPServer SMTPHandler (only few changes) BaseConnectionHandler I replaced BaseConnectioHandler with AbstractServer which implements ConnectionHandlerFactory. Every other server class can now inherit from new AbstractServer by implementing its "public abstract createConnectionHandler()". Main achievement is that this way it is possible to unallocate explicitly resources used by any connection handler. So I made SMTPHandler to be disposable and simply "multiplied by null" all its resources in its dispose. The result is in subject of this letter. Opinions, ideas? Andrei PS still using java 1.3.1_02 :-) ----- Original Message ----- From: "Danny Angus" <[EMAIL PROTECTED]> To: "James Developers List" <[EMAIL PROTECTED]> Sent: Saturday, June 01, 2002 10:15 PM Subject: RE: James SMTPServer load test - more result > *definitely* upgrade to 1.4 and use the -server option (edit run.bat || > run.sh) then. > > > -----Original Message----- > > From: Andrei Ivanov [mailto:[EMAIL PROTECTED]] > > Sent: 01 June 2002 17:31 > > To: James Developers List > > Subject: Re: James SMTPServer load test - more result > > > > > > >(what JVM are you using, I'm assuming Suns 1.4) > > > > > > D:\>java -version > > java version "1.3.1_02" > > Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_02-b02) > > Java HotSpot(TM) Client VM (build 1.3.1_02-b02, mixed mode) > > > > D:\> > > > > Andrei > > > > > > > > -- > > To unsubscribe, e-mail: > > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
