You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Noticed in ramping-arrival-rate executor that if the big map is filled at init stage and then used in the function, memory consumption is jumping to 10% per thread compared to 1% if the map is filled in the function. There are different scenarios and ration is not necessary 1 to 10, in some cases worse. For example increasing pre allocated vus x2 will increase memory per thread x2 times.
execute this strip down version of script and then comment out eventIdsMap in init stage and uncomment in default function and watch the difference in htop or whatever memory monitoring tool
execute this strip down version of provided script and then comment out eventIdsMap in init stage and uncomment in default function and watch the difference in htop or whatever memory monitoring tool
Expected behaviour
memory should not be consumed at this level. in my understanding init stage should share the map and filling 100k map for each iteration should be worse than filling it in init stage
Actual behaviour
for this particular executor there is this problem with massive memory usage when the map is around 100k the bigger the worse. other executors i tried like shared iterations, pervuiterations on comparable rps are consuming little memory
The text was updated successfully, but these errors were encountered:
Brief summary
Noticed in ramping-arrival-rate executor that if the big map is filled at init stage and then used in the function, memory consumption is jumping to 10% per thread compared to 1% if the map is filled in the function. There are different scenarios and ration is not necessary 1 to 10, in some cases worse. For example increasing pre allocated vus x2 will increase memory per thread x2 times.
execute this strip down version of script and then comment out eventIdsMap in init stage and uncomment in default function and watch the difference in htop or whatever memory monitoring tool
init stage map fill
default function map fill
k6 version
0.50
OS
ubuntu 22.04
Docker version and image (if applicable)
No response
Steps to reproduce the problem
execute this strip down version of provided script and then comment out eventIdsMap in init stage and uncomment in default function and watch the difference in htop or whatever memory monitoring tool
Expected behaviour
memory should not be consumed at this level. in my understanding init stage should share the map and filling 100k map for each iteration should be worse than filling it in init stage
Actual behaviour
for this particular executor there is this problem with massive memory usage when the map is around 100k the bigger the worse. other executors i tried like shared iterations, pervuiterations on comparable rps are consuming little memory
The text was updated successfully, but these errors were encountered: