How to check space available