Fix buffering getTotalSpace

Fix buffering getTotalSpace in Apc adapter