Finding and Trimming Linux Bloat | Linux Today

Finding and Trimming Linux Bloat

Written By
Web Webster
Web Webster
Aug 13, 2009

“The second line shows how much swap is being used: none, on my
system right now. Yet Firefox is using 315M of VSZ but only (only!)
159M of RSS. How can that be?

“What the ps and top man pages don’t tell you is that there are
other types of memory included in VSZ. For instance, when a program
makes a large large memory allocation request, the kernel may not
allocate all of it right away — it might just reserve it in case
the program ever actually tries to access that memory. So VSZ
represents RSS plus swapped memory plus memory that the program
thinks it might need to use some day but actually may never
touch.

“Okay, so that VSZ number is bogus. Firefox isn’t really using
315M. Whew! What about that 159M of RSS?

“Well, there are mitigating factors there too. The biggest is
shared libraries.”

Complete
Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.