Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#21 wvWare Consumes huge memory

closed-fixed
Dom Lachowicz
None
6
2004-10-23
2004-10-22
Sudar
No

For the document attached below, wvWare was
consuming more than 1.7GB (it was increasing). The
problem is a kinda inconsistent with Windows 2000.
Release build of the library does behave normally some
times. But in the debug build, it was consistently leaking
memory.

The problem is identified inside libole2/ms-ole.c: read_pps
(..) function. Essentially, while clearing the root chain,
there was a tangling pointer coming in. I have added a
chain block checking routine to avoid the problem.

Discussion

  • Sudar
    Sudar
    2004-10-22

    • priority: 5 --> 6
    • assigned_to: nobody --> cinamod
     
  • Sudar
    Sudar
    2004-10-22

    Problem Document

     
    Attachments
  • Sudar
    Sudar
    2004-10-22

    Logged In: YES
    user_id=1133964

    Attached is the cvs diff -u output.

     
  • Sudar
    Sudar
    2004-10-22

    cvs diff -u output of the patch

     
    Attachments
  • Sudar
    Sudar
    2004-10-22

    • status: open --> open-remind
     
  • Sudar
    Sudar
    2004-10-22

    Logged In: YES
    user_id=1133964

    I missed a condition check in the previous patch. Please use
    this patch.

     
  • Sudar
    Sudar
    2004-10-22

    Latest Patch cvs diff -u output

     
    Attachments
  • Dom Lachowicz
    Dom Lachowicz
    2004-10-23

    Logged In: YES
    user_id=69417

    thanks for the bug report and patch!

     
  • Dom Lachowicz
    Dom Lachowicz
    2004-10-23

    • status: open-remind --> closed-fixed