Any possibility of getting this issue resolved? I cannot attest that gate_patch is correct, but it solves the immediate problem I have when running a long-running -re-heavy process under expect. As it stands I have to cap the process's memory and restart it when it takes up too much, which is irritating, to say the least.
Thanks.
--nwf;
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ok, I've managed to sort of reproduce this. expect eats up available memory, but actually seems to manage steady memory use if forced to do so by putting it in a cgroup. I will have a look at the patch tomorrow I hope. I see it involves refcounts which is a tricky area.
Cheers,
Nils
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Testcase
Solution
Any possibility of getting this issue resolved? I cannot attest that gate_patch is correct, but it solves the immediate problem I have when running a long-running -re-heavy process under expect. As it stands I have to cap the process's memory and restart it when it takes up too much, which is irritating, to say the least.
Thanks.
--nwf;
Hi, sorry for the delay. I'm looking into this now.
Ok, I've managed to sort of reproduce this. expect eats up available memory, but actually seems to manage steady memory use if forced to do so by putting it in a cgroup. I will have a look at the patch tomorrow I hope. I see it involves refcounts which is a tricky area.
Cheers,
Nils
any news about this issue?
I had a look at it, I'm unsure the patch fixes it. I will try to re-verify it again against the latest tcl.