On Wed, Feb 01, 2006 at 09:34:56PM +0100, Roger wrote: > I had the exact same problem, running out of free memory while having > 2GB installed, I had to split the backups into 10 separate jobs, where > the biggest consist of 3,8M files and 250GB data, and even this takes a > lot of time on my dual xenon system with fibre channels and scsi disks, > while building the directory tree.
I just made a 2 line mod that changed this behavior. The problem here is that the query was fetched all at once and it took 2G of memory to do this. It then took an additional 650M to build the memory tree. By changing bacula to retrieve the result row at a time instead of all at once, it took only 650M and 5 less minutes (no swapping) to build the tree. As soon as I put together a patch, I will post it to the developers list and see if it can get incorporated into the official source. -- Karl Hakimian [EMAIL PROTECTED] ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users