TanYuxin-tyx commented on code in PR #21843:
URL: https://github.com/apache/flink/pull/21843#discussion_r1100025929


##########
docs/content/docs/deployment/memory/mem_setup_tm.md:
##########
@@ -147,7 +147,7 @@ which affect the size of the respective components:
 | [Managed memory](#managed-memory)                                  | 
[`taskmanager.memory.managed.size`]({{< ref "docs/deployment/config" 
>}}#taskmanager-memory-managed-size) <br/> 
[`taskmanager.memory.managed.fraction`]({{< ref "docs/deployment/config" 
>}}#taskmanager-memory-managed-fraction)                                        
                                                                             | 
Native memory managed by Flink, reserved for sorting, hash tables, caching of 
intermediate results and RocksDB state backend                                  
                                                                                
                              |
 | [Framework Off-heap Memory](#framework-memory)                     | 
[`taskmanager.memory.framework.off-heap.size`]({{< ref "docs/deployment/config" 
>}}#taskmanager-memory-framework-off-heap-size)                                 
                                                                                
                                                                                
| [Off-heap direct (or native) 
memory](#configure-off-heap-memory-direct-or-native) dedicated to Flink 
framework (advanced option)                                                     
                                                                                
       |
 | [Task Off-heap Memory](#configure-off-heap-memory-direct-or-native)| 
[`taskmanager.memory.task.off-heap.size`]({{< ref "docs/deployment/config" 
>}}#taskmanager-memory-task-off-heap-size)                                      
                                                                                
                                                                                
     | [Off-heap direct (or native) 
memory](#configure-off-heap-memory-direct-or-native) dedicated to Flink 
application to run operators                                                    
                                                                                
       |
-| Network Memory                                                     | 
[`taskmanager.memory.network.min`]({{< ref "docs/deployment/config" 
>}}#taskmanager-memory-network-min) <br/> 
[`taskmanager.memory.network.max`]({{< ref "docs/deployment/config" 
>}}#taskmanager-memory-network-max) <br/> 
[`taskmanager.memory.network.fraction`]({{< ref "docs/deployment/config" 
>}}#taskmanager-memory-network-fraction)                               | Direct 
memory reserved for data record exchange between tasks (e.g. buffering for the 
transfer over the network), is a [capped fractionated component]({{< ref 
"docs/deployment/memory/mem_setup" >}}#capped-fractionated-components) of the 
[total Flink memory]({{< ref "docs/deployment/memory/mem_setup" 
>}}#configure-total-memory). This memory is used for allocation of [network 
buffers]({{< ref "docs/deployment/memory/network_mem_tuning" >}}) |
+| Network Memory                                                     | 
[`taskmanager.memory.network.min`]({{< ref "docs/deployment/config" 
>}}#taskmanager-memory-network-min) <br/> 
[`taskmanager.memory.network.max`]({{< ref "docs/deployment/config" 
>}}#taskmanager-memory-network-max) <br/> 
[`taskmanager.memory.network.fraction`]({{< ref "docs/deployment/config" 
>}}#taskmanager-memory-network-fraction)                               | Direct 
memory reserved for data record exchange between tasks (e.g. buffering for the 
transfer over the network), is a [capped fractionated component]({{< ref 
"docs/deployment/memory/mem_setup" >}}#capped-fractionated-components) of the 
[total Flink memory]({{< ref "docs/deployment/memory/mem_setup" 
>}}#configure-total-memory). This memory is used for allocation of [network 
buffers]({{< ref "docs/deployment/memory/network_mem_tuning" >}}). Since 1.17, 
[`taskmanager.memory.network.max`]({{< ref "docs/deployment/config" 
>}}#taskmanager-memory-network-max) 
 of the network memory size is set as Long.MAX_VALUE, which means the maximum 
network memory size is no longer limited by default. If you still want to limit 
the maximum network memory size, set the option to a new value, for example, 
1g. |

Review Comment:
   Good catch. I have added infinite annotations for the configurations with 
the default maximum value.
   And the above change has been removed.
   



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to