OKG interview question

What is a hashmap? Why Java still have memory leak?