You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.
具体日志:
Caused by: java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Arrays.java:3332)
at com.alibaba.fastjson2.JSONReaderUTF16.(JSONReaderUTF16.java:111)
at com.alibaba.fastjson2.JSONReader.of(JSONReader.java:3506)
at com.alibaba.fastjson.JSONReader.(JSONReader.java:22)
at com.alibaba.fastjson.JSONReader.(JSONReader.java:17)
at org.lxh.JsonFileSource.run(JsonFileSource.java:29)
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
OOM代码行:
JSONReader reader = new JSONReader(bufferedReader);
代码说明:
在Flink中要对一个500M左右的JSON处理,仅仅是打开就OOM,这里不应该消耗大量的缓存。
具体日志:
Caused by: java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Arrays.java:3332)
at com.alibaba.fastjson2.JSONReaderUTF16.(JSONReaderUTF16.java:111)
at com.alibaba.fastjson2.JSONReader.of(JSONReader.java:3506)
at com.alibaba.fastjson.JSONReader.(JSONReader.java:22)
at com.alibaba.fastjson.JSONReader.(JSONReader.java:17)
at org.lxh.JsonFileSource.run(JsonFileSource.java:29)
The text was updated successfully, but these errors were encountered: