Added remaining memory allocated info to 'Exiting' dump message

This applies patch by user yurivict.