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
util.FromUnstructured does a lot of memory allocations, especially in loops. If we have access to an unstructured.Unstructured and only need some of the information (any metadata, one or two fields) then we do not need to invoke it.
Over time this type will start doing very large allocs resulting in rampant memory usage.
Summary
util.FromUnstructured
does a lot of memory allocations, especially in loops. If we have access to anunstructured.Unstructured
and only need some of the information (any metadata, one or two fields) then we do not need to invoke it.Over time this type will start doing very large allocs resulting in rampant memory usage.
Fix: https://github.com/argoproj/argo/pull/4795/files#diff-c5ce6b47371bfd1984ffff5b3c51c4a92ac0af836a74b079d25bb79774cdc84aR49
The text was updated successfully, but these errors were encountered: