#536 avpops: PKG memory leak while performing db operations

ver 1.3.x
core (125)
Ovidiu Sas


  • Henning Westerholt

    Hi Ovidiu,

    are you sure this is related to the avpops module? I took a look in the memory log, and i noticed a lot of memory related to the database operations there. And the config in the original report don't use avp DB operations. Do you use db_load, or _query?

    Perhaps this is related to some memory leaks i recently fixed in the registrar and usrloc? I thought that its only related to db_mode DB_ONLY, but perhaps its also affects other modes.



  • Ovidiu Sas

    Ovidiu Sas - 2008-11-11

    Hello Henning,

    All the details are in the mailing list thread.
    In my config, I wasn't using the registrar and usrloc modules, so definitely the mem leak that I observed did not came from those two modules.

    Ovidiu Sas

  • Henning Westerholt

    Hi Ovidiu,

    i was able to reproduce a out of PKG_MEM condition related to the avpops module. I've added a test (41.sh) for this, it fails after about 200 load/ store cycles. I did not know the exact reason atm, perhaps this is related to some memory fragementation, as the memory debug did not show that much. Memory dump log attached.

    File Added: mem-log-avpops.gz


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks