xintongsong commented on a change in pull request #10999: [FLINK-15143] Docs for FLIP-49 TM memory model and configuration guide URL: https://github.com/apache/flink/pull/10999#discussion_r374483636
########## File path: docs/ops/state/state_backends.zh.md ########## @@ -71,6 +71,8 @@ MemoryStateBackend 适用场景: - 本地开发和调试。 - 状态很小的 Job,例如:由每次只处理一条记录的函数(Map、FlatMap、Filter 等)构成的 Job。Kafka Consumer 仅仅需要非常小的状态。 +It is also recommended to set [managed memory](mem_setup.html#managed-memory) to zero. +This will ensure that the maximum amount of memory is allocated for user code on the JVM. Review comment: Translation: 建议同时将 \[managed memory\](../memory/mem_setup.html#managed-memory) 设为0,以保证将最大限度的内存分配给 JVM 上的用户代码。 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services