Memory leak?

robb robb at canfield.com
Tue Aug 21 19:04:33 UTC 2007


Does this happen on the filesystem as well?

David Leadbeater wrote:
> Hi,
> 
> I'm getting an out of memory from brackup when backing up some large
> files to
> S3. (Well, not *that* large -- the largest file is 250MB).
> 
> This is under Perl 5.6.2 and 5.8.8 (I tried upgrading Perl just incase)
> on FreeBSD 5.2. Using Brackup 1.0.5 installed from FreeBSD ports. The
> box has 1GB RAM.
> 
> If I watch the brackup process while it's running it does seem to use a
> lot of memory.. (Around 130MB to 190MB RSS, the VSZ is around 500MB but
> I guess that's just files being mmap()ed)
> 
> Eventually it dies with an error like the one below.
> 
> It seems to carry on where it left off if I start it again so it's
> fairly easy to work around anyway.
> 
> Any ideas?
> 
> Thanks,
> David
> 
>   * storing chunk: [xxx(/home)] t=f yyy{off=99614720,len=5242880}
>   * storing chunk: [xxx(/home)] t=f yyy{off=104857600,len=5242880}
>   * storing chunk: [xxx(/home)] t=f yyy{off=110100480,len=5242880}
>   * storing chunk: [xxx(/home)] t=f yyy{off=115343360,len=5242880}
>   * storing chunk: [xxx(/home)] t=f yyy{off=120586240,len=5242880}
>   * storing chunk: [xxx(/home)] t=f yyy{off=125829120,len=5242880}
>   * storing chunk: [xxx(/home)] t=f yyy{off=131072000,len=5242880}
>   * storing chunk: [xxx(/home)] t=f yyy{off=136314880,len=5242880}
>   * storing chunk: [xxx(/home)] t=f yyy{off=141557760,len=5242880}
> Error running backup: Out of memory during "large" request for 8392704
> bytes, total sbrk() is 529641472 bytes at
> /usr/local/lib/perl5/site_perl/5.8.8/Brackup/PositionedChunk.pm line 98.
> 
> Error running backup: Out of memory during "large" request for 4198400
> bytes, total sbrk() is 529641472 bytes at
> /usr/local/lib/perl5/site_perl/5.8.8/Brackup/Root.pm line 230, <GEN1>
> line 1.
> 
> Use of uninitialized value in numeric eq (==) at
> /usr/local/lib/perl5/site_perl/5.8.8/Brackup/GPGProcess.pm line 35.
> Error running backup: size not right at
> /usr/local/lib/perl5/site_perl/5.8.8/Brackup/GPGProcess.pm line 35.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.danga.com/pipermail/brackup/attachments/20070821/e246445b/smime.bin


More information about the brackup mailing list