Added Sanity Check for out of memory
Merge pull request #894 from Winterleaf/Dev---Volume.cpp

Added Sanity Check for out of memory