Get real memory usage for the PDO

Get real memory usage with a query.