You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-zh@flink.apache.org by "蒋佳成(Jiacheng Jiang)" <92...@qq.com> on 2020/07/21 01:27:56 UTC
liststate
大家好:
我发现RocksDBListState#get方法是一次性把数据全加载到内存中,如果list太大这样会不会造成内存溢出。可不可以在next方法中才加载数据?
Re: liststate
Posted by Congxian Qiu <qc...@gmail.com>.
Hi
ListState 中的 value 是一个整体,所以一次性会取回来,现在 RocksDBMapStat 中有一些操作
(iterator/entries/values 等)是使用 next 方法加载的。
Best,
Congxian
蒋佳成(Jiacheng Jiang) <92...@qq.com> 于2020年7月21日周二 上午9:28写道:
> 大家好:
>
> 我发现RocksDBListState#get方法是一次性把数据全加载到内存中,如果list太大这样会不会造成内存溢出。可不可以在next方法中才加载数据?