Results 1 to 3 of 3
  1. #1

    Php/MySQL/Linuy memory leak?


    I have an data import process that runs daily. As soon as I start the process, it starts to chew up memroy until it totally chokes my server.

    After I terminate the process, the memory is NOT reclaimed by Linux.

    Question 1: How come Linux is not reclaiming the memory. I have read that Linux has a "lazy" memory reclaimation algo, but in this case, the memory is simply not reclaimed.

    Question 2: How can I start debugging the problem. Are there any tools to figure out what is going on.

    Question 3: Is there a Linux tool to force memory reclaim.

  2. #2
    Join Date
    Mar 2004
    It could be a problem with the program and linux.

  3. #3
    my suspicion is that I am not releasing memory after a block of data is read from mysql (into php)... but I should not have to worry about that once the script is terminated (!!)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts