New MemoryUtil class to quickly obtain free JVM memory.
OutOfMemoryException fix to CachedInputStream and CachedOutputStream.