checking the free memory bound