Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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?

share|improve this question
add comment

1 Answer 1

up vote 17 down vote accepted

I am not aware of an ArcObjects way to get it, but 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.

share|improve this answer
2  
It's also worth noting that, for whatever reason, this option doesn't display raster sizes. –  nicksan Apr 24 '12 at 22:46
1  
Thanks. Nice and simple. I wonder if there's a way to find it in code too... –  Tanner Apr 26 '12 at 19:06
1  
I was curious myself so I asked: gis.stackexchange.com/questions/24242/… –  blah238 Apr 26 '12 at 20:31
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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