Yes, that's correct. Managed memory is currently only used for batch processing.
For stream processing data is either kept on the JVM heap (InMemoryStateBackend, FsStateBackend) or in RocksDB (RocksDBStateBackend). There are plans to implement a state backend that serializes to to managed memory (possibly spilling to disk if memory is exceeded). 2017-04-06 16:36 GMT+02:00 nragon <nuno.goncal...@wedotechnologies.com>: > Hi, > > Regarding this topic, does flink uses memory segments for window states? > Is memory managment only "used at is full capacity" for batch? > > Thanks > > > > -- > View this message in context: http://apache-flink-user- > mailing-list-archive.2336050.n4.nabble.com/Should-I- > decrease-the-taskmanager-memory-fraction-tp10475p12540.html > Sent from the Apache Flink User Mailing List archive. mailing list archive > at Nabble.com. >