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