Re: zip error: out of memory

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

 



On Wednesday 28 July 2004 22:17 chuck gelm's cat walking on the keyboard  
wrote:

> Luca Ferrari wrote:
> > Hi,
> > I was doing a backup of a NFS partition (about 300 MB) using zip but I
> > got the error:
> > Zip error: Out of memory (allocating temp filename)
> > I've tried to find some information but I was unable. Since I've used zip
> > to compress SMB partitions over 1 GB I don't believe that it can be a
> > "size" problem. I've tried to specify the temporary directory with the -b
> > flag, but nothing changed. On my disk I've got about 11 GB of free space,
> > so have you any idea or suggestion about this problem?
> >
> > Thanks,
> > Luca
>
> Hi, Luca:
>
>   Show us exactly what you did (the exact command line).
> Show us the free space of your 'cwd' and your temporary directory.
> Show us the size of the partition you are trying to backup.
>
> Perhaps you could run 'watch -d df' on another console and see
> what directory is getting 'Out of memory' or
>   your could run 'free -s 9' on another console to see if you
>   are running out of RAM memory.
>

Here's the command line I use:

/usr/bin/zip  -r -u -y -b /tmp/backup  /mnt/disco2//letizia.zip * 

zip error: Out of memory (allocating temp filename)

and the memory as reported by free before and during the zipping:

             total       used       free     shared    buffers     cached
Mem:        256624     253180       3444          0      40412      85796
-/+ buffers/cache:     126972     129652
Swap:      1020088         16    1020072

             total       used       free     shared    buffers     cached
Mem:        256624     254096       2528          0      34604      92080
-/+ buffers/cache:     127412     129212
Swap:      1020088         16    1020072


Any idea?

Luca




-- 
Luca Ferrari,
fluca1978@xxxxxxxxxxx
-
: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Newbie]     [Audio]     [Hams]     [Kernel Newbies]     [Util Linux NG]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Device Drivers]     [Samba]     [Video 4 Linux]     [Git]     [Fedora Users]

  Powered by Linux