才4万多条数据的BASE64做decode就OutOfMemory。
尔后用sun.misc.BASE64Decoder替代。
尔后用sun.misc.BASE64Decoder替代。
JDK版本为:1.6.0.45
java.lang.OutOfMemoryError: Java heap space
at org.apache.commons.codec.binary.StringUtils.getBytes(StringUtils.
at org.apache.commons.codec.binary.StringUtils.getBytesUtf8(StringUtils.
at org.apache.commons.codec.binary.BaseNCodec.decode(BaseNCodec.
at org.apache.commons.codec.binary.Base64.decodeBase64(Base64.