Compressing in-memory data is a cost-effective solution for dealing with the memory demand from data-intensive applications. This paper proposes a fast data compression algorithm for in-memory data that improves performance by utilizing the characteristics frequently observed from in-memory data.