added jvm memory settings to pom
fixed flag file