RE: java.lang.OutOfMemoryError Tomcat4.1.30

2005-01-07 Thread Dale, Matt
Increase the size of the heap. The default is only 64M. Ta Matt -Original Message- From: kjiang [mailto:[EMAIL PROTECTED] Sent: 06 January 2005 21:19 To: tomcat-user@jakarta.apache.org Subject: java.lang.OutOfMemoryError Tomcat4.1.30 Hi When tomcat (version 4.1.30) read in a large file

RE: java.lang.OutOfMemoryError Tomcat4.1.30

2005-01-06 Thread Mike Jackson
Either don't read so large a file into memory (ie read chunks and process them rather than the entire file) or increase the memory that Tomcat can use. You can increase the memory allowed to the VM using the -X arguements (java -X for help). The one you'll want is going to be -Xmx###M where the #

RE: java.lang.OutOfMemoryError: Java heap space

2004-11-25 Thread Ben Souther
On Thu, 2004-11-25 at 00:23, Lee Chin Khiong wrote: > I'm using Tomcat 5, jdk1.5, running XP. > This happen after a while and I didn't configure the memory, it's default. Tomcat 5.5, I assume. It could just be that your app needs more than the 64m than the JVM initially allots for itself. This is

Re: java.lang.OutOfMemoryError: Java heap space

2004-11-24 Thread Quinton Delpeche
On Thursday 25 November 2004 07:23, Lee Chin Khiong wrote: > I'm using Tomcat 5, jdk1.5, running XP. By default Tomcat only allocates 64MB of memory to the compiler. You also make sure that you don't have a memory leak in your code. Power up the manager/html application and go to server status.

RE: java.lang.OutOfMemoryError: Java heap space

2004-11-24 Thread Lee Chin Khiong
I'm using Tomcat 5, jdk1.5, running XP. This happen after a while and I didn't configure the memory, it's default. -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Thursday, November 25, 2004 12:09 PM To: Tomcat Users List Subject: RE: java.lang.O

Re: java.lang.OutOfMemoryError: Java heap space

2004-11-24 Thread Quinton Delpeche
On Thursday 25 November 2004 06:01, Lee Chin Khiong wrote: > How to solve this ? Add this line to your catalina.sh for unix: JAVA_OPTS="-Xms128m -Xmx256m" Add this line to you catalina.bat for Windows: set JAVA_OPTS="-Xms128m -Xmx256m" I normally add this line under the one that start JAVADIR.

RE: java.lang.OutOfMemoryError: Java heap space

2004-11-24 Thread Ben Souther
> From: Ben Souther [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 25, 2004 11:39 AM > To: Tomcat Users List > Subject: Re: java.lang.OutOfMemoryError: Java heap space > > > It's an error message telling you that your JVM has run out of memory. > &g

RE: java.lang.OutOfMemoryError: Java heap space

2004-11-24 Thread Lee Chin Khiong
How to solve this ? -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Thursday, November 25, 2004 11:39 AM To: Tomcat Users List Subject: Re: java.lang.OutOfMemoryError: Java heap space It's an error message telling you that your JVM has run out of memory. O

Re: java.lang.OutOfMemoryError: Java heap space

2004-11-24 Thread Ben Souther
It's an error message telling you that your JVM has run out of memory. On Wed, 2004-11-24 at 22:34, Lee Chin Khiong wrote: > ERROR : java.lang.OutOfMemoryError: Java heap space. What is this ? > - To unsubscribe, e-mail: [EMAI

Re: java.lang.OutOfMemoryError

2004-08-05 Thread Michiel Toneman
True, there is a definite memory leak when using a connector and a front-end webserver (e.g. mod_jk, mod_jk2) You can try fixing this by putting: # Fix memory leak bug in tomcat 5.0.19: request.registerRequests=false in $TOMCAT_HOME/conf/jk2.properties Cheers, Michiel Allistair Crossley wrote: W

RE: java.lang.OutOfMemoryError

2004-08-05 Thread Allistair Crossley
We had memory loss with 5.0.19. We profiled a 5.0.19 web app and found that memory was not being garbage collected too well. As soon as we upgraded this went away and was proven by th profiling. Start by trying out 5.0.27 and see how it goes. If it still happens then take Yoav's advice and profi

Re: java.lang.OutOfMemoryError

2004-08-05 Thread Michiel Toneman
In addition to Yoav's comment, you may also want to check on the number of sessions that get created. I know that JRun3 didn't create a session when it wasn't necessary to do so, Tomcat 5 (as per servlet spec.) always creates a session. Typically webcrawlers don't 'do' cookies, so a new session

RE: java.lang.OutOfMemoryError

2004-08-05 Thread Shapira, Yoav
Hi, Give the server more memory maybe? Or code your webapps to use less memory (or rather, use memory better)? With the information you gave, more specific advice is impossible. Yoav Shapira Millennium Research Informatics >-Original Message- >From: Matt He [mailto:[EMAIL PROTECTED] >

RE: java.lang.OutOfMemoryError

2004-06-03 Thread Jagsir.Dhillon
Search for '$JAVA_OPTS' env var in catalina.sh placed in $tomcat_home/bin And set it to "-Xms512m -Xmx2048m" Note: Now this 512m is least memory that should be free for tomcat before you start tomcat. Regards, Jagsir Singh Dhillon IFlex Solutions Associate Consultant i-fl

RE: java.lang.OutOfMemoryError

2004-06-03 Thread Matthew Chen
Thanks for all replies and recommendations. Pretty helpful, FYI, I am running Tomcat 5.0.12 on solaris 8. Matt -Original Message- From: James Sherwood [mailto:[EMAIL PROTECTED] Sent: Thursday, June 03, 2004 10:40 AM To: Tomcat Users List Subject: Re: java.lang.OutOfMemoryError more

Re: java.lang.OutOfMemoryError

2004-06-03 Thread Filip Hanik - Dev
catalina.bat or catalina.sh, set JAVA_OPTS=-mx512m - Original Message - From: "James Sherwood" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thursday, June 03, 2004 9:39 AM Subject: Re: java.lang.OutOfMemoryError > more

Re: java.lang.OutOfMemoryError

2004-06-03 Thread James Sherwood
more information please, version of tomcat and windows or linux? - Original Message - From: "Matthew Chen" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thursday, June 03, 2004 11:24 AM Subject: java.lang.OutOfMemoryError > > > Has anyone ever experienced this

Re: java.lang.OutOfMemoryError

2004-06-03 Thread QM
On Thu, Jun 03, 2004 at 10:24:47AM -0400, Matthew Chen wrote: : Has anyone ever experienced this error? The machine I am running has enough : memory, I think it is around 2GB. The java instance just used for less than : 150MB memory from prstat. Does anyone know how to increase initial tomcat : mem

RE: java.lang.OutOfMemoryError

2004-06-03 Thread Shapira, Yoav
Hi, It wouldn't hurt to search the FAQ or archives before posting: http://jakarta.apache.org/tomcat/faq/memory.html http://marc.theaimsgroup.com/?l=tomcat-user&w=2&r=1&s=OutOfMemoryError&q =b Yoav Shapira Millennium Research Informatics >-Original Message- >From: Matthew Chen [mailto:[E

RE: java.lang.OutOfMemoryError

2004-03-22 Thread Shapira, Yoav
, use a profiler to see where your memory is allocated when you get the OutOfMemoryError. Yoav Shapira Millennium Research Informatics >-Original Message- >From: Joseph Shraibman [mailto:[EMAIL PROTECTED] >Sent: Sunday, March 21, 2004 7:28 PM >To: Tomcat Users List

Re: java.lang.OutOfMemoryError

2004-03-21 Thread Joseph Shraibman
Sounds like the same memory leak problem I've been having. The problem is when new threads are created to handle concurrent connections. Marco Pöhler wrote: Hi, I'm running tomcat 5.0.19 & J2SDK1.4.2_03 on a suse linux 8.1. I wrote a really simple application, just one servlet and a few jsp pag

RE: java.lang.OutOfMemoryError

2004-03-21 Thread Neal
I was having a similar problem with a similar configuration but was having to restart every day. For some reason the exact same JDK/tomcat install on my windows dev box performed just fine under stress testing and reclaimed memory just fine whereas my Linux production box had serious issues. I in

Re: java.lang.OutOfMemoryError

2004-03-21 Thread Joerg Baumgaertel
Forgot to mention that I have a lot of stuff about Memory Leaks generally online: FAQ http://jb2works.com/memoryleak/index.html and Why do we have a Data Cancer The Top Five to avoid it http://jb2works.com/memoryleak/topfive.html Best regards, Joerg --

Re: java.lang.OutOfMemoryError

2004-03-21 Thread Joerg Baumgaertel
Hi Marco Give 'The Reference Scanner' a try and make heap snapshots and check the diff between snapshots. I just published the tomcat-howto. You find the Software here http://jb2works.com/ If you need more help, you reach me via mail. Best regards, Joerg Marco Pöhler wrote: Hi, I'm running tomca

Re: java.lang.OutOfMemoryError

2004-03-21 Thread Jacob Kjome
How much information do you put in servlet sessions? How long do sessions last? How many active user sessions do you have at any given time? Do you start the VM up without providing -Xmx512m or something like that? If so, you are starting a VM with a maximum of 64meg of memory available to

RE: java.lang.OutOfMemoryError

2003-12-29 Thread Shapira, Yoav
Howdy, >hm..i see...but I am working on a server with 4GB of RAM,I think it should Your server has 4GB of physical RAM, but by default Java will allocate up to 64MB to the heap. You can modify this by using various -X parameters to the java runtime (read up on the Java VM Options if you're not

RE: java.lang.OutOfMemoryError

2003-12-27 Thread James Black
You may need to go modify Catalina.bat (I guess that is what it would be on Win2k), add a JAVA_OPT variable, such as JAVA_OPT=-mx512M. I don't remember if it is -mx or -mX though. This will set the highest heap size that the java application can use. You may want to set it to 2 or 3GB though

RE: java.lang.OutOfMemoryError

2003-12-27 Thread Lam Chee Choong
Window Server 2000 with service pack 2 and my application is connecting with MS sql 2000 with no service pack install -Original Message- From: Antony Paul [mailto:[EMAIL PROTECTED] Sent: 26 December 2003 11:07 PM To: Tomcat Users List Subject: Re: java.lang.OutOfMemoryError Please

RE: To LAM JEE RE: java.lang.OutOfMemoryError

2003-12-27 Thread Lam Chee Choong
; -Original Message- > From: akki [mailto:[EMAIL PROTECTED] > Sent: 26 December 2003 10:51 AM > To: Tomcat Users List > Subject: RE: java.lang.OutOfMemoryError > > > yeah i also encountered this problem > actaully it is bcoz u r not closing any connection and eventual

To LAM JEE RE: java.lang.OutOfMemoryError

2003-12-26 Thread akki
riginal Message- > From: akki [mailto:[EMAIL PROTECTED] > Sent: 26 December 2003 10:51 AM > To: Tomcat Users List > Subject: RE: java.lang.OutOfMemoryError > > > yeah i also encountered this problem > actaully it is bcoz u r not closing any connection and eventually i

Re: java.lang.OutOfMemoryError

2003-12-26 Thread Antony Paul
Please specify the OS version. A similar thread is there . Antony Paul - Original Message - From: "Lam Chee Choong" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Friday, December 26, 2003 8:11 PM Subject: RE: java.lang.OutOfMemo

RE: java.lang.OutOfMemoryError

2003-12-26 Thread Lam Chee Choong
: RE: java.lang.OutOfMemoryError yeah i also encountered this problem actaully it is bcoz u r not closing any connection and eventually it is eating up ram u can check for it or increase ur RAM size -Original Message- From: Lam Chee Choong [mailto:[EMAIL PROTECTED] Sent: Thursday, December

RE: java.lang.OutOfMemoryError

2003-12-25 Thread FRANCOIS Dufour
i add this problen out off memory on my old server i dindint have enoufg ram to execute tomcat proprely [EMAIL PROTECTED] crazy-wilys webmaster From: "akki" Reply-To: "Tomcat Users List" To: "Tomcat Users List" Subject: RE: java.lang.OutOfMemoryError Date: F

RE: java.lang.OutOfMemoryError

2003-12-25 Thread akki
yeah i also encountered this problem actaully it is bcoz u r not closing any connection and eventually it is eating up ram u can check for it or increase ur RAM size -Original Message- From: Lam Chee Choong [mailto:[EMAIL PROTECTED] Sent: Thursday, December 25, 2003 8:22 PM To: [EMAIL PR

Re: java.lang.OutOfMemoryError

2003-12-01 Thread Trenton D. Adams
Cheang Khai Leng (Central) wrote: Hi, i am getting this error in my server log: *** 2003-12-02 10:22:23 - Ctx( ): Get real path \standardpages\footer.jsp C:\server -3.2.3\webapps\itsclient\standardpages\footer.jsp C:\server\apps\jakarta-tomcat- ent java.lang.OutOfMemoryError

Re: java.lang.OutOfMemoryError during deploy

2003-01-29 Thread ajTreece
]] Sent: Wednesday, January 29, 2003 5:40 PM To: Tomcat Users List Subject: Re: java.lang.OutOfMemoryError during deploy Sorry Filip... You've lost me, but then again I may not know what I'm talking about. My problem is during a deploy with ant to the tomcat server. I'm not seein

RE: java.lang.OutOfMemoryError during deploy

2003-01-29 Thread Filip Hanik
Subject: Re: java.lang.OutOfMemoryError during deploy Sorry Filip... You've lost me, but then again I may not know what I'm talking about. My problem is during a deploy with ant to the tomcat server. I'm not seeing where I would set the sizes for java to deal with this.

Re: java.lang.OutOfMemoryError during deploy

2003-01-29 Thread ajTreece
Sorry Filip... You've lost me, but then again I may not know what I'm talking about. My problem is during a deploy with ant to the tomcat server. I'm not seeing where I would set the sizes for java to deal with this. Later, ajTreece Filip Hanik wrote: in whatever batch file or shell script

RE: java.lang.OutOfMemoryError during deploy

2003-01-29 Thread Filip Hanik
in whatever batch file or shell script set more memory java -ms64M -mx512M ...bla bla bla sets the initial memory size to 64MB and the maximum to 512MB Filip -Original Message- From: ajTreece [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29, 2003 5:21 PM To: [EMAIL PROTECTED]

RE: java.lang.OutOfMemoryError

2003-01-06 Thread Jacob Kjome
The latest Sun javac compiler has, supposedly, fixed the memory leak. Grab j2sdk1.4.1_01. Unfortunately, for those on Windows, jikes cannot be used to compile jsp's because it doesn't support some encoding options on Windows, only Unix/Linux. Jake At 02:58 PM 1/6/2003 +, you wrote: There

RE: java.lang.OutOfMemoryError

2003-01-06 Thread Bodycombe, Andrew
There is a memory leak in the Sun javac compiler which could be the cause of this problem. You could use the jikes compiler to get around this problem. Andy -Original Message- From: Laxmikanth M.S. [mailto:[EMAIL PROTECTED]] Sent: 04 January 2003 12:21 To: Tomcat Users List Subject: java

RE: java.lang.OutOfMemoryError

2003-01-06 Thread Shapira, Yoav
Howdy, You likely don't have enough memory to do the job the JSP needs to do. Try setting -Xmx (max heap size) to something big. You should also profile your code to see where memory is being used. Search the list archives for much much more information on this topic. Yoav Shapira Millennium Che

Re: java.lang.OutOfMemoryError - JDK1.3.1

2002-10-09 Thread Raj Saini
Raj Mettai wrote: > Hi, > > what version of mod_jk you are using with tomcat 4.1.12 ? > > thanks > Raj I am using JK 1.2.0. (not jk2). This is the latest JK release. Raj > > [EMAIL PROTECTED] 10/09/02 04:07AM >>> >>> > Hi, > > I was using the tomcat 4.0.3 with JDK 1.4. Tomcat was inte

Re: java.lang.OutOfMemoryError - JDK1.3.1

2002-10-09 Thread Raj Mettai
Hi, what version of mod_jk you are using with tomcat 4.1.12 ? thanks Raj >>> [EMAIL PROTECTED] 10/09/02 04:07AM >>> Hi, I was using the tomcat 4.0.3 with JDK 1.4. Tomcat was integrated with apache using warp connector. I used to have the same problem you have now. I recently upgraded to To

Re: java.lang.OutOfMemoryError

2002-10-09 Thread Raj Mettai
Hi Sonam Singh, currently, I am passing the max and min values for the memory thru CATALINA_OPTS in catalina.sh (CATALINA_OPTS="-Xms256M -Xmx256M"; export CATALINA_OPTS) I think this will increase the default memory right ? thanks Raj >>> [EMAIL PROTECTED] 10/09/02 08:39AM >>> modify the c

Re: java.lang.OutOfMemoryError

2002-10-09 Thread sonam singh
modify the catalina.sh because tomcat run with default memory u have to increase it manually in the catalina.sh as below [ "$1" = "start" ] ; then shift touch "$CATALINA_BASE"/logs/catalina.out if [ "$1" = "-security" ] ; then echo "Using Security Manager" shift "$_RUNJAVA" $JA

Re: java.lang.OutOfMemoryError

2002-10-09 Thread Raj Saini
Hi, I was using the tomcat 4.0.3 with JDK 1.4. Tomcat was integrated with apache using warp connector. I used to have the same problem you have now. I recently upgraded to Tomcat 4.1.12 and warp to mod_jk with load balancing with two instances of tomcat on the same server. Memory usages which

Re: java.lang.OutOfMemoryError

2002-04-27 Thread rony
Hi, Why don't you guys use a Profiler tool like the 'OptimizeIT' which can give you a very clear picture on where the actuall memory toll is!!. We had similar problems when our application was run on 'Apache 1.3.22+Tomcat3.2.2', but finally after a thorough analysis we found that the proble

Re: java.lang.OutOfMemoryError

2002-04-26 Thread tomcat
Hello Did you found an answer to this? its happening in my server too. I have the same configuration than you but with Tomcat 4.0.3. -- Best regards, NG> Hi, NG> My website is using the following versions of software: NG> Struts 1.0.2 NG> Apache 1.3.22 NG> Tomcat 4.0.2 NG> Java Runtime E

RE: java.lang.OutOfMemoryError

2002-04-05 Thread Sven Ewert
> -Ursprüngliche Nachricht- > Von: Neil Gidley [mailto:[EMAIL PROTECTED]] > Gesendet: Samstag, 6. April 2002 02:58 > An: [EMAIL PROTECTED] > Betreff: java.lang.OutOfMemoryError > > > Hi, > > My website is using the following versions of software: > > Struts 1.0.2 > Apache 1.3.22 > Tomc

Re: java.lang.OutOfMemoryError!! What does this mean....

2001-06-13 Thread Luba Powell
send me your JSP and RAM configuration. - Original Message - From: "Penumatsa, Sreesha" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 13, 2001 6:59 PM Subject: java.lang.OutOfMemoryError!! What does this mean > Hi, > My name is Sireesha. While i was trying to run

Re: java.lang.OutOfMemoryError

2001-05-25 Thread Egidijus Drobavicius
This is javaVM heap problem. You should increase heapsize. (e.g. JAVACMD=java -mx200M) Regards, Egidijus - Original Message - From: "Srinadh Karumuri" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, May 25, 2001 2:35 PM Subject: RE: java.lang.OutOfMemo

RE: java.lang.OutOfMemoryError

2001-05-25 Thread Srinadh Karumuri
If you are wondering where that magic number came from. Try 'java' at the command line. Then try 'java -X' for the help on non-standard options. You will probably find another flag or two useful. Sri At 02:22 PM 05/25/2001 +0200, you wrote: >i think your problems can be solved be setting a highe

RE: java.lang.OutOfMemoryError

2001-05-25 Thread Michael Weissenbacher
i think your problems can be solved be setting a higher maximum heap size. for example start tomcat by using java -Xmx256 ... to set heap size to 256 mb. michael -Original Message- From: Shailesh R Sah [mailto:[EMAIL PROTECTED]] Sent: Friday, May 25, 2001 1:01 PM To: [EMAIL PROTECTED] Su

RE: java.lang.OutOfMemoryError... O happy day.

2001-04-16 Thread Danny Angus
ilto:[EMAIL PROTECTED]] > Sent: Monday, April 16, 2001 6:50 PM > To: [EMAIL PROTECTED] > Subject: RE: java.lang.OutOfMemoryError... O happy day. > > > > Tomcat itself doesn't leak any memory as far as our systems > indicate. One thing to look at might be session usa

RE: java.lang.OutOfMemoryError... O happy day.

2001-04-16 Thread Randy Layman
Tomcat itself doesn't leak any memory as far as our systems indicate. One thing to look at might be session usage - has the orginial developer made the session never timeout (which means that the memory used in it will never be recollected) or jave exceptionally long timeouts? Also, sin