Re: frustrating memory anomaly

Chuck Hill <[email protected]> Sat, 09 Apr 2005 11:25:22 -0700
Newsgroups gmane.comp.web.webobjects.admin
Message-ID <[email protected]>
Also check out the streaming download feature.  It is documented in the
code of the file upload example that comes with WO.

Chuck


At 10:55 AM 09/04/2005 -0700, Sacha Mallais wrote:
>On Apr 9, 2005, at 7:24 am, Anthony Brian Arthur wrote:
>
>> Hi,
>>
>> Configuration:
>>
>> OS - OS X server 10.3.8
>> CPU - dual 1.8
>> RAM - 3 gig
>> WO - 5.2 or greater
>>
>> I have an app that fails in deployment (becoming unavailable in the 
>> middle of a transaction) that does not fail while testing the same 
>> scenario in development.  This happens while downloading a rather 
>> large data set to a file.  The deployed memory settings are -Xms256m 
>> -Xmx1800m.  Now, even though this is a large data set, it is virtually 
>> impossible for it to be greater than 1.8 gig.  This is a raw row fetch 
>> from 1 table, no joins.  Meanwhile the whole database in an oracle 
>> dump is only 2.16 gig.
>>
>Hi Brian,
>
>Does the app crash in the middle of the transaction or does the 
>connection fail?  If you're running out of memory, I would expect to 
>see a OOM exception in the logs.  Are you seeing that?  I ask because 
>it sounds like you might be timing out in deployment (because the 
>machine is not local to you, the download takes longer).
>
>Try tweaking the connection timeout param in JavaMon.
>
>
>>   So my question is, how do I know for sure that Monitor is really 
>> claiming the specified java heap settings?  I can see it in the 
>> 'current settings' block on the configuration page, but I am skeptical 
>> for the reason I already outlined.  Any suggestions?
>
>I'm not aware of any way to test the maximum heap size from within Java 
>(or from outside Java, for that matter...).  I personally have used the 
>-Xmx setting (though not with a 1800 MB maximum!  :-) with success.
>
>
>sacha
>
>
>-- 
>Sacha Michel Mallais - 800 lb. gorilla
>Global Village Consulting Inc.:   http://www.global-village.net/
>Bottom posting is your friend:
>http://www.river.com/users/share/etiquette/
>
>_______________________________________________
>WebObjects-admin mailing list
>[email protected]
>http://www.omnigroup.com/mailman/listinfo/webobjects-admin
>

--

Practical WebObjects - a book for intermediate WebObjects developers  
who want to increase their overall knowledge of WebObjects, or those  
who are trying to solve specific application development problems.
http://www.global-village.net/products/practical_webobjects