Issue #1666 direct memory storage was introduced.