Manage Learn to apply best practices and optimize your operations.

How to calculate white space in an Exchange streaming (.STM) file

Learn how to calculate the amount of white space in an Exchange server streaming (.STM) file using the ESEUTIL /MS command and this simple formula.

How can I view the white space on an Exchange Server streaming (.STM) file?
I suggest you look at the application event log on the Exchange server for event ID 1221 from source MSExchangeIS Private and MSExchangeIS Public (where applicable) to determine the amount of white space in your databases as of the last re-start of your Exchange server.

I suspect from the careful and concise wording of your question that you're aware of this and trying to specifically get white space for the .STM file. The answer to this is that you'll need to take your Exchange store offline during a scheduled maintenance interval, and then run ESEUTIL /MS on the store in question.

I recommend you pipe the output to a text file using ESEUTIL /MS >output.txt or similar. In the resulting output, find the "SLV SPACE DUMP" section and locate the "Free" value listed there.

Using "F" to represent the value for "Free" space, and "WS" to represent the value for "white space" in the .STM file, utilize the following formula to calculate the size of the white space in kilobytes in the .STM file: WS = F * 4. Obviously, if you want to convert this to megabytes, divide by 1024 and so on.

I think you'll see why most people are happy to use the event logged in the application event log for an idea of overall white space.

Do you have comments on this Ask the Expert Q&A? Let us know.

Related information from SearchExchange.com:

  • Expert Advice: Reclaiming white space on Exchange Server 2003
  • Expert Advice: What happens if I delete Exchange's .STM file?
  • Tip: Is an offline defragmentation really worth it?
  • Reference Center: Exchange database management
  • Dig Deeper on Exchange Server setup and troubleshooting

    Have a question for an expert?

    Please add a title for your question

    Get answers from a TechTarget expert on whatever's puzzling you.

    You will be able to add details on the next page.

    Start the conversation

    Send me notifications when other members comment.

    Please create a username to comment.