Simple class for performing heap dumps on a jvm process