@support.skip_if_pgo_task
@bigmemtest(size=(_4G + 100), memuse=3.3)
def testDecompress4G(self, size):
    blocksize = ((10 * 1024) * 1024)
    block = random.randbytes(blocksize)
    try:
        data = (block * ((size // blocksize) + 1))
        compressed = bz2.compress(data)
        bz2d = BZ2Decompressor()
        decompressed = bz2d.decompress(compressed)
        self.assertTrue((decompressed == data))
    finally:
        data = None
        compressed = None
        decompressed = None
@support.skip_if_pgo_task
@bigmemtest(size=(_4G + 100), memuse=3.3)
def testDecompress4G(self, size):
    blocksize = ((10 * 1024) * 1024)
    block = random.randbytes(blocksize)
    try:
        data = (block * ((size // blocksize) + 1))
        compressed = bz2.compress(data)
        bz2d = BZ2Decompressor()
        decompressed = bz2d.decompress(compressed)
        self.assertTrue((decompressed == data))
    finally:
        data = None
        compressed = None
        decompressed = None