Expect buffer size increase, please help

Hi Group,
I am struggling to increase buffer size of expect,

sometimes after increasing the buffer size, expect captures all my expected output, sometimes not, :frowning:

I tried

    match_max 700000
    set expect_out\(buffer\) \{\}

Could anybody guide me for any solution.

HTH,
Jaduks

Take a look here and if it doesn't help, post some relevant script snippets.