RE: Java out of memory error

2010-10-20 Thread Caldarale, Charles R
> From: rujin raj [mailto:rujin...@gmail.com] > Subject: Re: Java out of memory error > Windows 2008 ent Server 64 bit is installed. > Tomcat and JAVA are 32 bit You're never going to be able to run that many threads in a 32-bit process. Use a 64-bit JVM, or reduce the

Re: Java out of memory error

2010-10-20 Thread rujin raj
JAVA? If i Force Garbage collection using the Lambda probe tomcat monitor whether it will affect any user sessions or anything?? Rujinraj On 20 October 2010 15:44, Pid wrote: > On 20/10/2010 09:15, rujin raj wrote: > > Hi all, > > > > In my tomcat application server frequ

Re: Java out of memory error

2010-10-20 Thread Pid
On 20/10/2010 09:15, rujin raj wrote: > Hi all, > > In my tomcat application server frequently i am getting the java out of > memory error. > > *Error:* > 20 Oct, 2010 1:09:41 PM > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable run &g

Java out of memory error

2010-10-20 Thread rujin raj
Hi all, In my tomcat application server frequently i am getting the java out of memory error. *Error:* 20 Oct, 2010 1:09:41 PM org.apache.tomcat.util.threads.ThreadPool$ControlRunnable run SEVERE: Caught exception (java.lang.OutOfMemoryError: unable to create new native thread) executing

Re: Java out of memory error

2010-10-14 Thread Christopher Schultz
ks like you are on a 32-bit JVM. Try upgrading to a 64-bit JVM if you want more memory, although memory probably isn't your real problem. > What might me the cause for java out of memory error? How to resolve the > problem? Note the entire message: "java.lang.OutOfMemoryError: unab

Re: Java out of memory error

2010-10-14 Thread Juha Laiho
ght me the cause for java out of memory error? How to resolve the problem? I'm a bit uncertain of the error message, however: it may be that it's not actually JVM memory that is exhausted, but threads. Could it be that your application is starting new threads, but not disposing of them

Java out of memory error

2010-10-14 Thread rujin raj
as 1200MB and thread stack size as blank.More over I am not able to set the minimum pool size more than 1024 MB. How can I increase the JVM memory more than 1GB?? What might me the cause for java out of memory error? How to resolve the problem? Please help me to resolve the problem. Regards

Re: tomcat won't download large files -- out of memory error

2008-09-26 Thread Johnny Kewl
- Original Message - From: "DIGLLOYD INC" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Friday, September 26, 2008 8:07 PM Subject: Re: tomcat won't download large files -- out of memory error Thanks to multiple people responding to this! My

Re: tomcat won't download large files -- out of memory error

2008-09-26 Thread Mark Thomas
DIGLLOYD INC wrote: > Thanks Mark. > > How to force the 64-bit JVM to run? > > For now I'm using -Xmx2047M, which solves the immediate problem. The latest Java updates for Mac include 32 and 64 bit 1.6.0_07. You need to use the Java Preferences (Applications > Util > Java - or something close t

Re: tomcat won't download large files -- out of memory error

2008-09-26 Thread DIGLLOYD INC
Thanks Mark. How to force the 64-bit JVM to run? For now I'm using -Xmx2047M, which solves the immediate problem. Lloyd Chambers http://diglloyd.com [Mac OS X 10.5.5 Intel, Tomcat 6.0.16] On Sep 26, 2008, at 11:19 AM, Mark Thomas wrote: DIGLLOYD INC wrote: Thanks to multiple people respond

Re: tomcat won't download large files -- out of memory error

2008-09-26 Thread Mark Thomas
DIGLLOYD INC wrote: > Thanks to multiple people responding to this! > > My site diglloyd.com serves almost entirely static content, with many > large JPEG files. > > I have set: > CATALINA_OPTS=-Xmx1024M > > That's limiting the JVM to 1GB of memory. And in > tomcat/conf/context.xml, I set: > >

Re: tomcat won't download large files -- out of memory error

2008-09-26 Thread DIGLLOYD INC
Thanks to multiple people responding to this! My site diglloyd.com serves almost entirely static content, with many large JPEG files. I have set: CATALINA_OPTS=-Xmx1024M That's limiting the JVM to 1GB of memory. And in tomcat/conf/ context.xml, I set: cachingAllowed="true" > Therein pre

Re: tomcat won't download large files -- out of memory error

2008-09-26 Thread Mark Thomas
Mark Thomas wrote: > DIGLLOYD INC wrote: >> Is there a way to limit the size of the file that will be cached? > Not at present. I have added a configuration option for this to trunk and proposed it for 6.0.x Mark - To start a n

Re: tomcat won't download large files -- out of memory error

2008-09-26 Thread Mark Thomas
DIGLLOYD INC wrote: > I have some large zip files I want to make available for download. When > I try to download a 70MB file, tomcat is trying to cache these huge > files (it seems). The result is that downloading them always fails. I > *want* caching for most everything eg jpegs, html, etc and

Re: tomcat won't download large files -- out of memory error

2008-09-26 Thread Johnny Kewl
- Original Message - From: "DIGLLOYD INC" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Friday, September 26, 2008 7:01 AM Subject: tomcat won't download large files -- out of memory error I have some large zip files I want to make available

Re: tomcat won't download large files -- out of memory error

2008-09-26 Thread Pid
DIGLLOYD INC wrote: > I came across the following: > > -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true > > at this page: > http://hillert.blogspot.com/2008/05/if-tomcat-is-running-out-of-memory.html > > I haven't tried it yet, and I don't know what it does (limits something > appar

Re: tomcat won't download large files -- out of memory error

2008-09-25 Thread DIGLLOYD INC
I came across the following: -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true at this page: http://hillert.blogspot.com/2008/05/if-tomcat-is-running-out-of-memory.html I haven't tried it yet, and I don't know what it does (limits something apparently). Anyone know? Lloyd On

tomcat won't download large files -- out of memory error

2008-09-25 Thread DIGLLOYD INC
I have some large zip files I want to make available for download. When I try to download a 70MB file, tomcat is trying to cache these huge files (it seems). The result is that downloading them always fails. I *want* caching for most everything eg jpegs, html, etc and I've set tomcat to

RE: Heap out of memory error

2007-11-05 Thread Caldarale, Charles R
> From: Bob Riaz [mailto:[EMAIL PROTECTED] > Subject: Heap out of memory error > > From time to time I have come across this error in the Tomcat logs: > java.lang.OutOfMemoryError: Java heap space If you're running Tomcat as a Windows service, use the tomcat6w.exe progra

Heap out of memory error

2007-11-05 Thread Bob Riaz
Hi all, I have web apps using the following: JDK 1.5 Tomcat 6 SQL Server 2000 Windows 2000 server >From time to time I have come across this error in the Tomcat logs: java.lang.OutOfMemoryError: Java heap space I understand the default heap size is 64M, and that it is possibe to configure Tomcat

String cache setting - looking for documentation and cause of out of memory error

2006-10-30 Thread Ellen O'Sullivan
I'm looking for more information about the String cache configuration in the Catalina.properties file. I've searched through Tomcat documentation and I can't find any details about this. We have a servlet that processes requests that can be large, sometimes over 2MB (we have set the MaxPostSize t

RE: out of memory error

2006-07-24 Thread Cosio, Raul
This link may help... http://tomcat.apache.org/faq/memory.html -Original Message- From: Shinya Koizumi [mailto:[EMAIL PROTECTED] Sent: Jueves, 20 de Julio de 2006 07:10 p.m. To: Tomcat Users List Subject: Re: out of memory error One of solution for out of memory problem is to upgrade

RE: out of memory error

2006-07-20 Thread MW Janssen
He, I am using java 1.5.0_01 Maarten -Oorspronkelijk bericht- Van: Shinya Koizumi [mailto:[EMAIL PROTECTED] Verzonden: vrijdag 21 juli 2006 2:10 Aan: Tomcat Users List Onderwerp: Re: out of memory error One of solution for out of memory problem is to upgrade to Java 1.5 SK

Re: out of memory error

2006-07-20 Thread Shinya Koizumi
One of solution for out of memory problem is to upgrade to Java 1.5 SK - Original Message - From: "MW Janssen" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" Sent: Wednesday, July 19, 2006 8:39 AM Subject: RE: out of memory error > i d

RE: out of memory error

2006-07-20 Thread MW Janssen
I am starting tomcat as a service so i dont have a console.. maarten -Oorspronkelijk bericht- Van: Suresh babu [mailto:[EMAIL PROTECTED] Verzonden: donderdag 20 juli 2006 12:57 Aan: Tomcat Users List Onderwerp: Re: out of memory error GC details will be printed in console On 7/20/06

Re: out of memory error

2006-07-20 Thread Suresh babu
[EMAIL PROTECTED] Verzonden: donderdag 20 juli 2006 7:32 Aan: Tomcat Users List; Martin Gainty Onderwerp: Re: out of memory error Hi, please set this and send the verbose out put log file. set JAVA_OPTS=%JAVA_OPTS% -verbosegc -XX:+PrintGCDetails, I will look in to this. On 7/19/06, Martin

RE: out of memory error

2006-07-19 Thread MW Janssen
Onderwerp: Re: out of memory error Hi, please set this and send the verbose out put log file. set JAVA_OPTS=%JAVA_OPTS% -verbosegc -XX:+PrintGCDetails, I will look in to this. On 7/19/06, Martin Gainty <[EMAIL PROTECTED]> wrote: > > Good Afternoon Jon- > > set Max Mem and Min

Re: out of memory error

2006-07-19 Thread Suresh babu
" Sent: Wednesday, July 19, 2006 12:12 PM Subject: Re: out of memory error > This may be of help (emphasis on may): > > http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4765019 > > Has a bit about tuning Xss for a high number of threads. > > MW Janssen wrote: >> H

Re: out of memory error

2006-07-19 Thread Martin Gainty
Message - From: "Jon Wingfield" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Wednesday, July 19, 2006 12:12 PM Subject: Re: out of memory error > This may be of help (emphasis on may): > > http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4765019 > &

Re: out of memory error

2006-07-19 Thread Jon Wingfield
] Verzonden: woensdag 19 juli 2006 16:57 Aan: Tomcat Users List Onderwerp: Re: out of memory error MW Janssen wrote: "java.lang.OutOfMemoryError: unable to create new native thread" Are you it isn't just the heap and/or stack that's too small? Try starting the Jvm with one of

RE: out of memory error

2006-07-19 Thread Propes, Barry L
wow! That should be plenty of free space and memory. Not at all sure why you're running out upon startup. -Original Message- From: MW Janssen [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 19, 2006 11:03 AM To: 'Tomcat Users List' Subject: RE: out of memory error

RE: out of memory error

2006-07-19 Thread MW Janssen
: 3.87Gb (from lambdaprobe) THX! Maarten -Oorspronkelijk bericht- Van: Propes, Barry L [mailto:[EMAIL PROTECTED] Verzonden: woensdag 19 juli 2006 18:02 Aan: Tomcat Users List Onderwerp: RE: out of memory error look in your windows folder. Yeah, I'm looking at mine and it's not

RE: out of memory error

2006-07-19 Thread Propes, Barry L
m reading are saying theoretically in WinXP or Win2K, you shouldn't have to do that. Which version are you using, Maarten? -Original Message- From: MW Janssen [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 19, 2006 10:40 AM To: 'Tomcat Users List' Subject: RE: out of memory error i

Re: out of memory error

2006-07-19 Thread Christopher Schultz
Barry, > possibly like I (incorrectly, because he was on UNIX) told a guy the other > day. > > Go to startup.bat, right click and change (under the Memory tab) > properties in the Initial Environment box from Auto to 4096 or higher. This still isn't going to change anything: Modifying the envir

RE: out of memory error

2006-07-19 Thread MW Janssen
i dont see a memory tab when i right click.. -Oorspronkelijk bericht- Van: Propes, Barry L [mailto:[EMAIL PROTECTED] Verzonden: woensdag 19 juli 2006 17:32 Aan: Tomcat Users List Onderwerp: RE: out of memory error possibly like I (incorrectly, because he was on UNIX) told a guy the

RE: out of memory error

2006-07-19 Thread Propes, Barry L
: Wednesday, July 19, 2006 9:01 AM To: 'Tomcat Users List' Subject: RE: out of memory error Guys, I am on a Windows NT platform so not Unix..solution? Maarten -Oorspronkelijk bericht- Van: Leon Rosenberg [mailto:[EMAIL PROTECTED] Verzonden: woensdag 19 juli 2006 15:57 Aan: Tomcat

RE: out of memory error

2006-07-19 Thread MW Janssen
swap: 3.87Gb (from lambdaprobe) Maarten -Oorspronkelijk bericht- Van: David Tonhofer [mailto:[EMAIL PROTECTED] Verzonden: woensdag 19 juli 2006 16:57 Aan: Tomcat Users List Onderwerp: Re: out of memory error MW Janssen wrote: "java.lang.OutOfMemoryError: unable to create new n

Re: out of memory error

2006-07-19 Thread David Tonhofer
MW Janssen wrote: "java.lang.OutOfMemoryError: unable to create new native thread" Are you it isn't just the heap and/or stack that's too small? Try starting the Jvm with one of the extended options line "-Xss500k" "-Xmx100m" (if it is the Sun JVM) -

RE: out of memory error

2006-07-19 Thread MW Janssen
Guys, I am on a Windows NT platform so not Unix..solution? Maarten -Oorspronkelijk bericht- Van: Leon Rosenberg [mailto:[EMAIL PROTECTED] Verzonden: woensdag 19 juli 2006 15:57 Aan: Tomcat Users List Onderwerp: Re: out of memory error On 7/19/06, Jon Wingfield <[EMAIL PROTEC

Re: out of memory error

2006-07-19 Thread Leon Rosenberg
On 7/19/06, Jon Wingfield <[EMAIL PROTECTED]> wrote: The process running tomcat can't (read isn't allowed by OS) to create any more threads: "java.lang.OutOfMemoryError: unable to create new native thread" If you are on unix you can up the number by tinkering with the ulimit command. but if y

Re: out of memory error

2006-07-19 Thread Jon Wingfield
The process running tomcat can't (read isn't allowed by OS) to create any more threads: "java.lang.OutOfMemoryError: unable to create new native thread" If you are on unix you can up the number by tinkering with the ulimit command. HTH, Jon MW Janssen wrote: Hi, Can anyone explain and s

out of memory error

2006-07-19 Thread MW Janssen
Hi, Can anyone explain and suggest a solution on error below: Jul 19, 2006 12:49:18 PM org.apache.tomcat.util.threads.ThreadPool$ControlRunnable run SEVERE: Caught exception (java.lang.OutOfMemoryError: unable to create new native thread) executing HYPERLINK "mailto:[EMAIL PROTECTED]"org.apa [

Re: Out of Memory Error

2006-06-27 Thread Franck Borel
There is a known problem with SUNs compiler "javac" and Tomcat. If you are using the standard configuration javac and Tomcat uses the same JVM. Soon or later this will produce an "out of memory". To prevent this, you can either update your JRE to Java 5 or set fork=true in your standard deployment

Re: Out of Memory Error

2006-06-26 Thread Mladen Adamovic
Marco Aurélio Seraphim da Silva wrote: There's something I can do to reduce the amount of memory used by the JVM, or it's normal??? Actually, if you don't have many hits/day and if you don't have very memory consuming application you could avoid OutOfMemory exception by reducing -Xmx -Xms to

RE: Out of Memory Error

2006-06-26 Thread Gordon Smith
ive way to increase performance and decrease downtime and hair loss! Hope this helps. Cheers, Gordon Smith -Original Message- From: Marco Aurélio Seraphim da Silva [mailto:[EMAIL PROTECTED] Sent: Monday, June 26, 2006 11:09 AM To: users@tomcat.apache.org Subject: Out of Memory Error Hi fo

Out of Memory Error

2006-06-26 Thread Marco Aurélio Seraphim da Silva
Hi folks, I'm using Tomcat 5.0.28 with JVM 1.4.2 (running only Tomcat) under a Win 2000 Server, and it starts to give me the following message: java.lang.OutOfMemoryError. To prevent this I start Tomcat using this 2 parameters: -Xms 521m -Xmx 1024m But this isn't enought, some times when the ser