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]> |
I am wondering if there is an OOME for big log file size then the logs must be written in the memory and later flushed to disk (may be periodically). So is there any option by which we can make the flushing of logs to disk more frequent so that we don't hit out of memory condition. Pankaj Agarwal-2 wrote: > > > You can try increasing min and max memory in the startup script > > > -Pankaj > > > > On Mar 26, 2009, at 2:57 AM, "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-tp22718880p22727283.html Sent from the CruiseControl - User mailing list archive at Nabble.com. ------------------------------------------------------------------------------