Menu

#13 expect memory leak by using -re

None
open
None
5
2019-10-18
2011-05-06
No

subsequent run of the mem-test (see attachment) shows, that the memory consumptions rapidly increases in time:

ps -eo vsize,command|grep mem-test

Discussion

  • Oleksiy Kebkal

    Oleksiy Kebkal - 2011-05-06

    Testcase

     
  • Oleksiy Kebkal

    Oleksiy Kebkal - 2011-05-06

    Solution

     
  • Oleksiy Kebkal

    Oleksiy Kebkal - 2011-05-07
    • assigned_to: nobody --> andreas_kupries
     
  • Nathaniel Filardo

    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;

     
  • Nils Carlson

    Nils Carlson - 2018-02-24

    Hi, sorry for the delay. I'm looking into this now.

     
  • Nils Carlson

    Nils Carlson - 2018-02-24
    • assigned_to: Andreas Kupries --> Nils Carlson
    • Group: -->
     
  • Nils Carlson

    Nils Carlson - 2018-02-24

    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

     
  • ramok

    ramok - 2019-10-15

    any news about this issue?

     
  • Nils Carlson

    Nils Carlson - 2019-10-18

    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.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.