I wish to know how I can make a memory dump (to my HDD) to analyze the
memory contents. I tried googling but couldn't find anything.
Without knowing which OS you are using a generic answer is difficult.
If you are running linux, you should read documentation regarding /proc/core.
Cheers,
Jens