A method of storing compressed data first compresses source data,
generating compressed data, and computes the total compression length in
each row of the compressed data. The number of rows of compressed data
that the biggest memory block can accommodate is computed according to
the total compression length of each row. The system receives an
application for the required memory blocks for those rows of data.
Finally, the system allocated memory blocks are received for storing the
compressed data. Therefore, the system and method realize dynamical row
storage of compressed data, which make good use of fragmented memory in
the system.