bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] memory exhausted


From: Dr. Jürgen Vollmer
Subject: Re: [Bug-tar] memory exhausted
Date: Mon, 27 Oct 2008 10:26:21 +0100
User-agent: KMail/1.9.9

Am Montag 27 Oktober 2008 02:48:04 schrieb John Hein:
> Dr. Jürgen Vollmer wrote at 15:50 +0200 on Oct 17, 2008:
>  > Am Freitag 17 Oktober 2008 15:40:11 schrieb Sergey Poznyakoff:
>  > > Hi Jürgen,
>  > >
>  > > > Not I'm not able to display (list) the tape contants, since tar
>  > > > aborts with the message:
>  > > >
>  > > >        /usr/local/bin/tar: memory exhausted
>  > > >        /usr/local/bin/tar: Error is not recoverable: exiting now
>  > >
>  > > Did it display any partial listing before that, or it failed right
>  > > after startup?
>  >
>  > the written archive contains ca. 1.900.000 files.
>  > tar aborted afzer listing of ca. 1.700.000 files.
>
> This happens for me, too, when I used --listed-incremental on
> a large directory (~400 GB).  Here is how tar is invoked...
>
> gtar --create --file /dev/null --directory /foo --listed-incremental
> /tmp/tarlist .
>
> You can make this happen quicker if you set the data segment size
> limit lower than the normal default.
> It dies when tar's memory usage (as reported by ps) reaches the
> 'datasize' limit.
>
> FWIW, this happens with gtar-1.15.1 & gtar-1.18, too.
>
> I ran gtar in gdb and set a breakpoint in xalloc_die.  Here's the
> backtrace when it reached the breakpoint.  I believe the large size in
> frame #2 is a symptom, not the cause (due to issues when datasize is
> exceeded).


how can the problem be solved?

With best regards
Jürgen


-- 
Dr.rer.nat. Juergen Vollmer, Viktoriastrasse 15, D-76133 Karlsruhe
Tel: +49(721) 92 04 87 1 Fax: +49(721) 92 04 87 2
address@hidden
www.informatik-vollmer.de
Internet-Telefonie: www.skype.com Benutzer: juergen.vollmer
-------------------------------------------------------------------------------
Diese EMail ist elektronisch mittels GPG / PGP signiert.
Diese elektronische Unterschrift ist in einem EMail-Anhang enthalten.
Leider kann die Signatur ohne die Installation entsprechender Programme
weder geprüft noch angezeigt werden.
Mehr dazu unter: http://www.gnupg.org oder auch http://www.pgpi.org
-------------------------------------------------------------------------------

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]