Avoid OutOfMemory related to ClassPool usage in JavaAssist