Menu

#1 Major memory leaks

v2.0.0
closed-fixed
Chung
9
2005-02-04
2005-02-02
Chung
No

The program still has major memory leak issues. When
serving plain-o HTML files, a few Ks here and there are
consumed per request. When PHP 5 is used, a couple
megs disappear after each request.

Discussion

  • Chung

    Chung - 2005-02-03
    • status: open --> pending
     
  • Chung

    Chung - 2005-02-03

    Logged In: YES
    user_id=1204066

    Crap. This exposes a major flaw in how threads are handled.
    PHP allocates a block of memory per thread. There's no way
    through the Apache SAPI module to force it to free the
    memory.

     
  • Chung

    Chung - 2005-02-04
    • status: pending --> closed-fixed
     
  • Chung

    Chung - 2005-02-04

    Logged In: YES
    user_id=1204066

    Fixed. Now the program uses a thread pool instead of
    creating a new thread per request. The APP object is now
    released correctly as well.

     

Log in to post a comment.