Running processes and threads occupy memory. The file itself does not occupy memory, only when it is called. However, after compression, the occupation of disk space will generally decrease, unless the original compressed file is compressed again, sometimes it will become larger and larger.