25

Is there a simple way to determine the amount of hard drive space a feature class takes up?

I feel like I'm missing something simple, but I don't recall a method that does so.

You would think that right-clicking a dataset in ArcCatalog would do it for you.

The best I've ever been able to do was get the size of the entire gdb by looking in Windows Explorer.

If there isn't a way to do this in the ArcCatalog UI, I'd still be interested in a method to do so in code.

Any ideas?

1 Answer 1

36

If you're looking for an ArcObjects way to get it, then How to programmatically determine the size of a feature class in a file geodatabase? will provide that -- otherwise, you can enable the Size column in the Customize menu -> ArcCatalog Options -> Contents tab:

Enabling size column in ArcCatalog Options -> Contents tab Size column enabled reveals feature class is 50.69 MB

This works on file geodatabases but not on SDE geodatabases (in that case you could use some DBMS-specific queries to determine it though). It does not work on personal geodatabases.

1
  • 5
    It's also worth noting that, for whatever reason, this option doesn't display raster sizes.
    – nicksan
    Commented Apr 24, 2012 at 22:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.