Data storage in RAM

Hi,

I wanted to understand how couch base stores data in RAM. I have a document which is of 100kb size[encoded json size].Wondering how much space is this document going to take in memory. Is it going to take 100kb or will it be compressed?

Thanks