Operating System - Linux
1825719 Members
3036 Online
109686 Solutions
New Discussion

Re: Segmentation fault while doing compress

 
sunil_34
Occasional Advisor

Segmentation fault while doing compress

hey,

I am getting error segmentation fault while
executing compress . The file is
about 19 GB.

Any clues please reply.
2 REPLIES 2
Shaikh Imran
Honored Contributor

Re: Segmentation fault while doing compress

Hi,
Do you have enough space on the disk/filesystem where you are compressing the file ?
Normally compressing a file requires atleast 50%-100% of the free space on disk/filesystem
depending upon the ration of compression.

I think you are getting segmentation violation error because or this.

The better way is to use s utility :
check here:
http://www.adlenterprises.com/Utilities/File-Compression/compress-files-in-linux.php


Regards,

I'll sleep when i am dead.
Kiyoshi Miyake
Frequent Advisor

Re: Segmentation fault while doing compress

hi,

try -b option. like that:
$ compress -b 12 file.tar

see also man page of compress.

maybe execut well...

thanks.