Hi All,

During the investigation of a possible memory leak in the `guest-exec`
command of guest-agent, I found unexpected behavior for me. When we execute
the `guest-exec` command with `capture-output = true`, guest-agent stores
stdout/stderr until someone calls `guest-exec-status`.

Just for testing, I executed the `man man` command 1000 times with
`capture-output = true` and guest-agent allocated 36Mb to store the results
and it fully depends on output size.

I want to ask your opinion about this behavior. Is this behavior expected
or not? Should we store all output forever or should we limit it by memory
size/execution time/execution count?

Best Regards,
Konstantin Kostiuk.

Reply via email to