In-memory buffer