Re: Help Requested: Sending file attachments greater than 4mb causes OOM errors

2008-05-16 Thread Lyman
Sorry to take so long getting back to you and thanks for the post.. others pointed out this is probably an axis problem so I have been searching the archives of the axis mailing list for clues. Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- You should upgrade this if possible. T

Re: Help Requested: Sending file attachments greater than 4mb causes OOM errors

2008-05-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lyman, Lyman wrote: | mod_jk/1.2.5 You should upgrade this if possible. That version is 5 years old and the latest version should be completely compatible with the old one. I'm sure it's not the problem, but I wouldn't want to miss an opportunity to

Re: Help Requested: Sending file attachments greater than 4mb causes OOM errors

2008-05-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lyman, Lyman wrote: | Thank you Peter, I forgot to add that I had set the parameters as follows: | "-Djava.awt.headless=true -Xmx1500m -Xms1500m" On a 1gb machine? I'm not sure Java will even start up with those parameters. Are you sure your memory

Re: Help Requested: Sending file attachments greater than 4mb causes OOM errors

2008-05-14 Thread Lyman
Peter Crowther wrote: What does "top" tell you about your used/free memory - total, and that used by Java? Here is a snap shot of top sorted by %memory used: top - 11:02:53 up 12 days, 2:56, 1 user, load average: 0.02, 0.01, 0.00 Tasks: 76 total, 1 running, 75 sleeping, 0 stopped,

RE: Help Requested: Sending file attachments greater than 4mb causes OOM errors

2008-05-14 Thread Peter Crowther
> From: Lyman [mailto:[EMAIL PROTECTED] > Thank you Peter, I forgot to add that I had set the > parameters as follows: > "-Djava.awt.headless=true -Xmx1500m -Xms1500m" On a machine with 1 Gbyte of physical memory, that is almost certainly a mistake - depending on how much swap you've allocated.

Re: Help Requested: Sending file attachments greater than 4mb causes OOM errors

2008-05-14 Thread Lyman
Thank you Peter, I forgot to add that I had set the parameters as follows: "-Djava.awt.headless=true -Xmx1500m -Xms1500m" The -D parameter was there before so I did not mess with it.. I had tried with and without the -Xms parameter and did not see any difference in behavior. Lyman Peter Crow

RE: Help Requested: Sending file attachments greater than 4mb causes OOM errors

2008-05-14 Thread Peter Crowther
> From: Lyman [mailto:[EMAIL PROTECTED] > I increased the machine specs > from 64mb ram 500 mhz pII to a P4 1.3ghz 1gb ram. Java will only use the amount of RAM you tell it to, not the entire machine RAM. It defaults to a low value - probably 64Mbytes in your environment. You'll need to add ap

Help Requested: Sending file attachments greater than 4mb causes OOM errors

2008-05-14 Thread Lyman
I appreciate any help or guidance you may provide. I am trying to determine if I am trying to solve a solvable problem or should I pursue other methods to overcome the problem. Particulars: Apache/1.3.27 Ben-SSL/1.48 (Unix) Debian GNU/Linux mod_jk/1.2.5 mod_perl/1.27 tomcat4_4.1.28-1 Axis 1.1