Using -agentlib:hprof twice on the command line can cause problems. Should probably detect this in AgentOnload?