[FLINK-927] Quick and dirty fix for FLINK-927 and added more diagnostics information

CompactingHashTable now always checks if it was closed by another process.
If it was closed it does nothing.

Added more information about memory consumption to exception messages.