fixed jvm outOfMemory issue