如果一个pod运行一段时间之后,不断的重启,并且报错java.io.IOException: Size of the state is larger than the maximum permitted memory-backed state. Size=9985820, maxSize=5242880. Consider using a different checkpoint storage, like the FileSystemCheckpointStorage.
则是因为checkpoint的存储地址没有设置,默认保存到内存里面,一旦达到内存的瓶颈,那么pod就会一直报错一直重启,所以需要将checkpoint的地址设置到非内存以外的地方;