Questions tagged [bzip2]
bzip2 is a Unix command used for compression and decompression of files. The main advantage of bzip2 is that it has a high compression ratio with reasonable speed.
bzip2
330
questions
0
votes
0
answers
26
views
BSPatch Algorithm related queries
I need to implement the BSPatch algorithm on the Renesas (RH850F1KMS4) controller.
Input: a difference file or delta file of two software versions compressed with the BZIP2 compression method.
When I ...
1
vote
1
answer
98
views
How to build CPython with static libbz2
I've been trying to build CPython with static libs so as to port it into another machine. I've managed to make it work, it compiles fine and is accessible from the other machine. But the moment I try ...
0
votes
1
answer
76
views
in winhex i am trying to locate data size of a bzip2 compressed file?
I am trying to find the compressed file size of a Bzip2 file in winhex but don't know how to do it, can anyone know how to find these things by looking at hex editor
i have tried checking the file of ...
4
votes
2
answers
260
views
How to save a csv as bzip2 in R, either within fwrite or after saving the csv using fwrite
I have code which uses write.csv to save a large number of files in bzip2 format. Here's a small reproduceable example:
df <- data.frame(A = rnorm(100000), B = rnorm(100000), C = rnorm(100000))
...
0
votes
0
answers
36
views
ModuleNotFoundError: No module named '_bz2' in Google Cloud Workstation [duplicate]
I launched a new Google Cloud Workstation and create a single python file with these contents:
import bz2
import binascii
original_data = 'This is the original text.'
print ('Original :', len(...
1
vote
1
answer
676
views
Getting error bz2 module requires libbz2 >= 1.0.0 while compiling php 8.1.13
I am trying to compile PHP with
./configure <other options> --with-bz2=/path_to_bzip2/bzip2/1.0.6
But when the build reaches bz2 it gives out below error
..
checking for BZip2 support... yes
...
0
votes
1
answer
605
views
Cannot change the compression level for BZIP2 with Tar
I need to change the compression level for BZIP2 compression with tar. I found that we can set the compression level and run the tar command to compress. I tried different compression levels using the ...
1
vote
1
answer
227
views
How to extract more than 900,000 bytes using SharpZipLib BZip2
When using ICSharpCode.SharpZipLib to decompress BZip2 files I am having an issue where only the first 900,000 uncompressed bytes are extracted. I've tried both the BZip2InputStream and the BZip2....
2
votes
1
answer
117
views
Parallel bzip2 decompression scan may fail?
Bzip2 byte stream compression in parallel can be easily done with a FIFO queue where every chunk is processed as parallel task and streamed into a file.
The other way round parallel decompression is ...
0
votes
1
answer
240
views
Spark Bzip2 compression ratio is not efficient
Today am seeking your help with an issue am having in the last couple of days with bzip2 compression. We need to compress our output text files into bzip2 format.
The problem is that we only pass from ...
0
votes
0
answers
103
views
BZip2 "selectorMtf value too big" error when decompressing
I'm getting error "Corrupted input, selectorMtf value too big" when trying to decompress the string compressed by bzip2.
Below is my decompress java code
private void decompress() throws ...
1
vote
1
answer
2k
views
Getting 'blockstore error' when running test validator for solana
On running the command solana-test-validator on a Windows system, I get the error:
[2022-01-06T06:54:41.602352800Z INFO solana_test_validator] solana-validator 1.9.0 (src:7782d34b; feat:378846963)
[...
0
votes
1
answer
218
views
Picking compression algorithm for low-memory device - what works without being entirely in memory?
I'm writing an app that, on a low-memory device, needs to be able to read the list of contained files and also extract specific (but random) files from a tarball (or some sort of archive).
Here's my ...
0
votes
1
answer
230
views
Python3 x-bzip2 StreamingObject reading in chunks and processing out of memory
I am trying to read a x-bzip2 StreamingObject file. The file is large in size and does not fit in memory, meaning I need to unzip it, readlines and process in chunks.
I have managed to read specified ...
1
vote
1
answer
198
views
Is it possible to continue bzip2 decompressing?
Long story short: I have big (700+ GB) .tar.bz2 archive and I wanted to decompress it. It is stored on very slow HDD, so it took my computer about 110 hours nonstop working to get 92% of data. But ...