Re: cruise control throws out of memory exception if the log file size is huge
"singh.raghvendra" <[email protected]>
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <[email protected]> |
We already have set this to a very high value, it set -Xmx800m But still for a huge log file it OOMEs. Is there anything else which can be done to fix this. veeseekay wrote: > > cruisecontrol.sh has the foll info. It should help you. > > # Uncomment the following line if you have OutOfMemoryError errors > # CC_OPTS="-Xms128m -Xmx256m" > > ~v > > > On Thu, Mar 26, 2009 at 3:27 PM, singh.raghvendra > <[email protected] >> wrote: > >> >> We use cruise control for our regular build and testing setups. The tests >> are >> continuously run and if something fails a mail is sent to the subscriber >> list about the failure. >> >> We have a test which produces a huge amount of log (around 60MB) which is >> finally written to disk. But in this case cruise control throws an out of >> memory exception and then fails to send any mail about the failure. >> >> Since log files are written on disk and we get OOME then its clear that >> logs >> are first written in the memory and then finally flushed to disk. Is >> there >> any setting by which we can stop this from happening. I mean by >> increasing >> the heap space for log files or getting it to flush to disk more >> frequently. >> >> Any pointer to solve this would be highly helpful. >> >> Thanks >> Raghvendra Singh >> -- >> View this message in context: >> http://www.nabble.com/cruise-control-throws-out-of-memory-exception-if-the-log-file-size-is-huge-tp22718880p22718880.html >> Sent from the CruiseControl - User mailing list archive at Nabble.com. >> >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Cruisecontrol-user mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user >> > > ------------------------------------------------------------------------------ > > _______________________________________________ > Cruisecontrol-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user > > -- View this message in context: http://www.nabble.com/cruise-control-throws-out-of-memory-exception-if-the-log-file-size-is-huge-tp22718880p22725996.html Sent from the CruiseControl - User mailing list archive at Nabble.com. ------------------------------------------------------------------------------