From: Steven C. <ste...@re...> - 2011-01-21 16:29:52
|
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...] > Sent: Tuesday, January 11, 2011 5:48 PM > To: '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... > https://lists.sourceforge.net/lists/listinfo/cobertura-devel > > Email Disclaimer: http://www.redprairie.com/emaildisclaimer/ |