You are not logged in.

#1 2013-11-22 21:20:44

alocacoc
Member
From: Germany
Registered: 2013-06-27
Posts: 104

[Solved] Compression Problem with 7z + Peazip

I like to compress a file with 7zip, which doesn't succeed.

It has a size of 4.4GB and after compression it got about 3,8GB.

If I choose split the file to 1DVD size, it will succeed with a *.7z.001, this is why I know the compressed size. But if I choose single volume, it will give me this error:

          7-Zip [64] 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18
          p7zip Version 9.20 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,4 CPUs)
          Scanning
         
          Creating archive /home/xxx/xxx/file.7z
         
          Compressing  file.iso

System error:
E_FAIL               

The command is:

/usr/lib/peazip/res/7z/7z a -t7z -m0=LZMA -mmt=on -mx5 -md=16m -mfb=32 -ms=2g -w '/home/xxx/xxx/file.7z' '/home/xxx/xxx/file.iso'

The code which will succeed with split file is:

/usr/lib/peazip/res/7z/7z a -t7z -m0=LZMA -mmt=on -mx5 -md=16m -mfb=32 -ms=2g -v4699324416 -w '/home/xxx/xxx/file.7z' '/home/xxx/xxx/file.iso'

Ark compressor also crashes when trying to compress this file, and so is fileroller. This is why I guess the problem lies in 7z, but I don't actually know for sure, because if I use peazip and try to compress the file to a single volume *.zip, it will also crash. But on the other hand I think zip compression is also done by 7z.

Compression ratio is not relevant, it will crash even of store.

It doesn't crash if I use compressor to create *.pea, which I don't want to use.

The compression will succeed with other files, but not with all. From 11 files I try to compress, it succeeded with 6, it didn't succeed with 5. All files are 4,4Gb before compression.

My file systen is ext4, I tried to copy the files to a different hdd also on ext4 and another one with ntfs, no change.

I am out of ideas what I should do, I only can guess the problem is with 7zip somewhere.

Last edited by alocacoc (2014-03-06 06:39:50)

Offline

#2 2013-11-23 09:06:11

alocacoc
Member
From: Germany
Registered: 2013-06-27
Posts: 104

Re: [Solved] Compression Problem with 7z + Peazip

The file can be compressed in Windows by 7zip (some old version) and also by winrar (also an old version) without any problems.

Offline

#3 2013-11-23 15:22:31

alocacoc
Member
From: Germany
Registered: 2013-06-27
Posts: 104

Re: [Solved] Compression Problem with 7z + Peazip

Tested with fileroller and ark again after a reboot, both work now. They create a good *.7z file.

Peazip still gives the same error.

Offline

#4 2013-11-23 23:23:58

alocacoc
Member
From: Germany
Registered: 2013-06-27
Posts: 104

Re: [Solved] Compression Problem with 7z + Peazip

OK, when I compress with peazip to *.7z, it will fill up the directory /tmp, which is 2GB, which is half of my RAM size I guess, till its full. But when I do a split file (to produce a *.7z.001 file with a split limit of 4,4GB (this will also produce one file only), it will not use /tmp.

So maybe the problem is that at *.7z time it wants to cache it to /tmp, and at the split file it will cache to the destenation directory.

This was guessable also the problem why ark and fileroller crashed before, since I kept the peazip error window open and it won't release its temp file in /tmp till its closed and the whole system reacted strangely in this time.

Maybe I have to wait for an update on Peazip or 7zip to see if the problem will be fixed.

Last edited by alocacoc (2013-11-24 22:38:51)

Offline

#5 2013-12-07 09:09:03

alocacoc
Member
From: Germany
Registered: 2013-06-27
Posts: 104

Re: [Solved] Compression Problem with 7z + Peazip

Problem solved, after the latest PeaZip update everything works well again. Maybe it was a problem with the program itself.

Offline

Board footer

Powered by FluxBB