fastjson
fastjson copied to clipboard
fastjson的ParserConfig的IdentityHashMap内存泄漏
MAT分析内存dump,发现如下问题;使用的fastJson版本为1.2.78 ;求解答
One instance of "com.alibaba.fastjson.parser.ParserConfig" loaded by "sun.misc.Launcher$AppClassLoader @ 0x700023490" occupies 123,899,072 (24.80%) bytes. The memory is accumulated in one instance of "com.alibaba.fastjson.util.IdentityHashMap$Entry[]" loaded by "sun.misc.Launcher$AppClassLoader @ 0x700023490".
Keywords com.alibaba.fastjson.util.IdentityHashMap$Entry[] sun.misc.Launcher$AppClassLoader @ 0x700023490 com.alibaba.fastjson.parser.ParserConfig
一样,用了SerializeConfig 导致内存泄漏