Apache · 2008-02-02 07:25:10 · 阅读: 2105 自己的经验,内存泄露 String 变量用完之后 一定要null一下,十分有利于内存的回收 String a; a="XXXXXXXXXXXXXXXXXX"; //用完了 a=null;