Hi Kim You could try to change your JVM settings, i.e. modify run.sh where it "Kicks the tires and lights the fires!!!":
$JAVA_HOME/bin/java \ -server -Xms128m -Xmx128m ... With this your James may live a bit longer life under high load. Andrei ----- Original Message ----- From: "David Kim" <[EMAIL PROTECTED]> To: "James Users List" <[EMAIL PROTECTED]> Sent: Tuesday, August 27, 2002 5:42 PM Subject: OutOfMemory on Linux! > Hi all, > > I transferred james from Window to Linux. And I am > tesing now. > I had special purpose to use james in order to send > and receive unlimited size mail. > so, in case of incoming mail through james to our > user, james make stream file, > james don't use mailServer.sendMail(..) in > SMTPHandler.java. > In case of outgoing only, james use > mailServer.sendMail(..). > > I tested james on Windows perfectly. And last time, > although I got outgoing problem(about DNSServer) > after trasferring james to Linux, I could solve it > with your(Noel) comment. > > Yesterday, I tested james a lot of receiving mail. But > I got an error (OutOfMemory), > james didn't work anymore. > Mails are about 7400 issues(each size 1k). And I got > follow status from processors and smtpserver.log. > > Is my modification reason of this status(or > OutofMemory error)? > How can I solve this? This test is for incoming mail > test. > > -Linux Processor stutus- > ... > root 28121 27585 0 16:47 pts/0 00:00:00 > /apps/java/bin/java > -Djava.ext.dirs=/ijames/dist/bin/../lib -jar > /ijames/dist/bin/../bin/phoenix-loader.jar > root 28122 27585 0 16:47 pts/0 00:00:00 > /apps/java/bin/java > -Djava.ext.dirs=/ijames/dist/bin/../lib -jar > /ijames/dist/bin/../bin/phoenix-loader.jar > root 28123 27585 0 16:47 pts/0 00:00:00 > /apps/java/bin/java > -Djava.ext.dirs=/ijames/dist/bin/../lib -jar > /ijames/dist/bin/../bin/phoenix-loader.jar > root 28124 27585 0 16:47 pts/0 00:00:00 > /apps/java/bin/java > -Djava.ext.dirs=/ijames/dist/bin/../lib -jar > /ijames/dist/bin/../bin/phoenix-loader.jar > root 28125 27585 0 16:47 pts/0 00:00:00 > /apps/java/bin/java > -Djava.ext.dirs=/ijames/dist/bin/../lib -jar > /ijames/dist/bin/../bin/phoenix-loader.jar > root 28126 27585 0 16:47 pts/0 00:00:00 > /apps/java/bin/java > -Djava.ext.dirs=/ijames/dist/bin/../lib -jar > /ijames/dist/bin/../bin/phoenix-loader.jar > root 28127 27585 0 16:47 pts/0 00:00:00 > /apps/java/bin/java > -Djava.ext.dirs=/ijames/dist/bin/../lib -jar > /ijames/dist/bin/../bin/phoenix-loader.jar > ... > > -smtpserver.log- > ... > 1030393932088 [DEBUG ] (smtpserver): Max message size > is: 0 > 1030393932090 [INFO ] (smtpserver): Connection from > micah (10.10.50.37) > 1030393932091 [INFO ] (smtpserver): Command > received: HELO localhost > 1030393932092 [INFO ] (smtpserver): Command > received: mail from: <[EMAIL PROTECTED]> > 1030393932093 [INFO ] (smtpserver): Command > received: rcpt to: <[EMAIL PROTECTED]> > 1030393932103 [INFO ] (smtpserver): Command > received: data > 1030393932146 [INFO ] (smtpserver): Mail sent to > Mail Server > 1030393932147 [INFO ] (smtpserver): Command > received: quit > 1030393932591 [INFO ] (smtpserver): Hello Name is: > mx1 > 1030393932592 [DEBUG ] (smtpserver): Max message size > is: 0 > 1030393932594 [INFO ] (smtpserver): Connection from > micah (10.10.50.37) > 1030393932596 [INFO ] (smtpserver): Command > received: HELO localhost > 1030393932596 [INFO ] (smtpserver): Command > received: mail from: <[EMAIL PROTECTED]> > 1030393932598 [INFO ] (smtpserver): Command > received: rcpt to: <[EMAIL PROTECTED]> > 1030393932607 [INFO ] (smtpserver): Command > received: data > -Error OutOfMemory was happened over here- > > > ______________________________________________________________________ > Post your ad for free now! http://personals.yahoo.ca > > -- > 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]>
