Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] 如果待反序列化内容有null。就会导致java.lang.OutOfMemoryError: Java heap space #528

Closed
VirensCn opened this issue Jul 5, 2022 · 3 comments
Labels
bug Something isn't working
Milestone

Comments

@VirensCn
Copy link

VirensCn commented Jul 5, 2022

image

image

image

我这里主要是将数组长度估计10个,所以序列化出来的存在null,但是将序列化结果反序列化就会导致内存溢出

@VirensCn VirensCn added the bug Something isn't working label Jul 5, 2022
@wenshao
Copy link
Member

wenshao commented Jul 5, 2022

https://oss.sonatype.org/content/repositories/snapshots/com/alibaba/fastjson2/fastjson2/2.0.9-SNAPSHOT/
请帮忙用2.0.9-SNAPSHOT版本验证问题是否已经修复

@wenshao wenshao added this to the 2.0.9 milestone Jul 5, 2022
@wenshao
Copy link
Member

wenshao commented Jul 10, 2022

https://github.com/alibaba/fastjson2/releases/tag/2.0.9
问题已修复,请用新版本

@wenshao wenshao closed this as completed Jul 10, 2022
@NeverMorewhz
Copy link

你好,2.0.9版本依然有这个问题
111
空值数组序列化,服务直接内存溢出

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants