intermediate commit: using apache direct memory