You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using travis to retrieve all logs of all jobs of a project, like so:
repository.each_builddo |build|
jobs=build.jobsjobs.eachdo |job|
log=job.log.body# do stuff.# give Ruby chance to gc loglog=''# GC.startendend
However, the call to job.log.body creates object(s) in the heap space that cannot be garbage collected, and therefore constantly increase the process's memory footprint (even when explicitly evoking GC.start in the loop). This is annoying for checking out the log files of smaller Travis projects, and a hindrance for checking out the 27,000+ builds of something like rails/rails, where this one Ruby process ended up eating > 20G of RAM.
The text was updated successfully, but these errors were encountered:
We are using travis to retrieve all logs of all jobs of a project, like so:
However, the call to job.log.body creates object(s) in the heap space that cannot be garbage collected, and therefore constantly increase the process's memory footprint (even when explicitly evoking GC.start in the loop). This is annoying for checking out the log files of smaller Travis projects, and a hindrance for checking out the 27,000+ builds of something like rails/rails, where this one Ruby process ended up eating > 20G of RAM.
The text was updated successfully, but these errors were encountered: