If my Qos history profile is KEEP_ALL. If am sending a big data of 1GB per sec will my…
- User
If my Qos history profile is KEEP_ALL. If am sending a big data of 1GB per sec will my avaibale system memory drop with each passing second
- Assistant
Yes, if your QoS (Quality of Service) history profile is set to
KEEP_ALLand you're sending data at a high rate, such as 1GB per second, your available system memory will drop with each passing second.The
KEEP_ALLhistory policy in DDS (Data Distribution Service) means that all published samples will be stored until they are explicitly removed by some means, such as removal from the cache, deletion of the data writer, or changes in the resource limits. This is different from theKEEP_LASTpolicy, which retains only a specified number of the most recent samples.Since
KEEP_ALLretains every sample, your data writer's memory usage will continuously increase as it stores 1GB of data every second. This will quickly consume more and more system memory, leading to a decrease in available memory. - User
If my Qos history profile is KEEP_ALL. If am sending a big data of 1GB per sec will my avaibale system memory drop with each passing second. or will it be stable at some point.
- Assistant
If your QoS history profile is set to
KEEP_ALLand you are continuously sending data at a rate of 1GB per second, your available system memory will continuously drop with each passing second until it reaches the limits of your system's available physical memory or other constraints imposed by the DDS middleware or operating system. - User
why when i use KEEP_ALL history profile in ros2 publisher subscriber, my memory usage is not going out of memory after some time. the memory available drops for some time and then stablises to a constant value after some time.
- Assistant