cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vgritse...@hns.com>
Subject RE: IT'S TIME TO REDO YOUR TESTS, GENTLEMEN!
Date Wed, 22 Aug 2001 14:26:51 GMT
That's all we have :(

However, looking at the MRUMemoryStore code, I think it would be 
better to test heapsize against (totalMemory() - freeMemory()), and not
just totalMemory() as it is now.

Vadim

> -----Original Message-----
> From: Morrison, John [mailto:John.Morrison@uk.experian.com]
> Sent: Wednesday, August 22, 2001 10:01 AM
> To: 'cocoon-dev@xml.apache.org'
> Subject: RE: IT'S TIME TO REDO YOUR TESTS, GENTLEMEN!
> 
> 
> No :) but then I didn't know about the Runtime.getRuntime().totalMemory() or
> Runtime.getRuntime().freeMemory() functions before this morning 8D
> 
> J.
> 
> > -----Original Message-----
> > From: Vadim Gritsenko [mailto:vgritsenko@hns.com]
> > Sent: Wednesday, 22 August 2001 2:52 pm
> > To: cocoon-dev@xml.apache.org
> > Subject: RE: IT'S TIME TO REDO YOUR TESTS, GENTLEMEN!
> > 
> > 
> > Do you know how to get these values in Java?
> > :)
> > 
> > Vadim
> > 
> > > -----Original Message-----
> > > From: Morrison, John [mailto:John.Morrison@uk.experian.com]
> > > Sent: Wednesday, August 22, 2001 9:34 AM
> > > To: 'cocoon-dev@xml.apache.org'
> > > Subject: RE: IT'S TIME TO REDO YOUR TESTS, GENTLEMEN!
> > > 
> > > 
> > > 
> > > > -----Original Message-----
> > > > From: Vadim Gritsenko [mailto:vgritsenko@hns.com]
> > > > Sent: Wednesday, 22 August 2001 2:30 pm
> > > > To: Cocoon Developers
> > > > Subject: IT'S TIME TO REDO YOUR TESTS, GENTLEMEN!
> > > > 
> > > > 
> > > > Cocooners,
> > > > 
> > > > Yesterday I fixed to major memory leaks: 
> > > >  - one is with SitemapSource not releasing pipelines
> > > >    (no memory leaks in aggregation!),
> > > >  - another with mrulist in MRUMemoryStore.
> > > > 
> > > > Right now I have CLI running for >12 hours, it processed 
> > >35000 pages,
> > > > and still no trace of memory problems.
> > > > 
> > > > When doing your tests (esp. load tests), do not forget to adjust 
> > > > pool sizes (see Berin's response on "LoadTest" thread), and also
> > > > please make sure that "heapsize" attribute of MRUMemoryStores is
> > > > between -Xms and -Xmx.
> > > 
> > > Didn't the MRUMemoryStore ought check this and log it if 
> > it's not?  Would it
> > > be reasonable to enter a % of available memory for it's 
> > heapsize figures?
> > > 
> > > > Vadim
> > > > 
> > > > 
> > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> > > > For additional commands, email: cocoon-dev-help@xml.apache.org
> > > > 
> > > 
> > > 
> > > 
> > ==============================================================
> > =========
> > > Information in this email and any attachments are 
> > confidential, and may
> > > not be copied or used by anyone other than the addressee, 
> > nor disclosed
> > > to any third party without our permission.  There is no intention to
> > > create any legally binding contract or other commitment 
> > through the use
> > > of this email.
> > > 
> > > Experian Limited (registration number 653331).  
> > > Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF
> > > 
> > > 
> > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> > > For additional commands, email: cocoon-dev-help@xml.apache.org
> > > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> > For additional commands, email: cocoon-dev-help@xml.apache.org
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message