From: Steven C. <ste...@re...> - 2011-01-21 21:13:00
|
I am currently using trunk, I have yet to try your changes. The failure is occurring during 'business', I also notice it is doing flushes correctly, and it's producing results. The cobertura.ser file gets to about 2mb before the crash occurs. I am flushing after every test with the assumption garbage collection will clean up everything, and garbage collection will shrink the array size. I want to refrain from doing explicit GC calls unless absolutely necessary. On 1/21/2011 2:49 PM, Piotr Tabor wrote: > Steven, > > Do you have problems with both branches, or only with trunk. > AFAIK the running size of instrumented code in my branch does not grow > in time ? > Are your code going out of memory during 'business' run or during flush ? > > Piotr > > On Fri, Jan 21, 2011 at 5:29 PM, Steven Christou > <ste...@re... > <mailto:ste...@re...>> wrote: > > We changed our code recently to include the ability to flush cobertura > data in our JVM at any point using the suggested code in the FAQ page. > Is this going to help remove this memory limit? We set our heap > space to > -Xmx1400m which I believe is really high, and it did not solve the > issue > with memory. > > > On 1/11/2011 5:07 PM, John W. Lewis wrote: > > There is a memory limit. All of the line and conditional > counts are kept in memory till the JVM is shut down and they are > flushed to disk. > > > > So, as more instrumented code is executed in the test process, > the more memory is used by the test process. > > > > Then, when the shutdown occurs, the cobertura.ser file is loaded > into memory, and the in-memory counts are merged before being > written to the disk again. > > > > John > > > > > > -----Original Message----- > > From: Steven Christou [mailto:ste...@re... > <mailto:ste...@re...>] > > Sent: Tuesday, January 11, 2011 5:48 PM > > To: 'cob...@li... > <mailto:cob...@li...>' > > Subject: [Cobertura-devel] Cobertura Limits > > > > I was wondering if cobertura had any kind of limits. I ran into > an issue where I believe something was happening and the server > was starting to crash. The JVM never shut down, but at the same > time, when running fitnesse tests, I was getting nothing but > failures. I could run all my tests uninstrumented, and they would > all pass. This happens after I run several hundred tests though, > so I'm assuming I must be hitting a limit. > > > > I tried running with Piotr's changes, but I am running into an > issue where the tests do not even run. > > Email Disclaimer: > > http://www.redprairie.com/emaildisclaimer/ > > > > > > > ------------------------------------------------------------------------------ > > Protect Your Site and Customers from Malware Attacks > > Learn about various malware tactics and how to avoid them. > Understand > > malware threats, the impact they can have on your business, and > how you > > can protect your company and customers by using code signing. > > http://p.sf.net/sfu/oracle-sfdevnl > > _______________________________________________ > > Cobertura-devel mailing list > > Cob...@li... > <mailto:Cob...@li...> > > https://lists.sourceforge.net/lists/listinfo/cobertura-devel > > > > > Email Disclaimer: > http://www.redprairie.com/emaildisclaimer/ > > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better > price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Cobertura-devel mailing list > Cob...@li... > <mailto:Cob...@li...> > https://lists.sourceforge.net/lists/listinfo/cobertura-devel > > > > > -- > Pozdrawiam, > Piotr Tabor Email Disclaimer: http://www.redprairie.com/emaildisclaimer/ |