Re: [PHP] Where's my memory going?!

2009-09-30 Thread Ralph Deffke
Hi Philip, before u start running arround and taking ur hand on major changes I would like u to concider the following: the way u use the memory_get_usage() is incomplete use the function like memory_get_usage( true ) if this is set the REAL SIZE OF MEMORY ALLOCATED FROM THE SYSTEM is shown. som

Re: [PHP] Where's my memory going?!

2009-09-30 Thread Philip Thompson
On Sep 29, 2009, at 6:15 PM, Eddie Drapkin wrote: On Tue, Sep 29, 2009 at 6:51 PM, Jim Lucas wrote: Philip Thompson wrote: On Sep 29, 2009, at 4:38 PM, Jim Lucas wrote: Philip Thompson wrote: On Sep 28, 2009, at 4:40 PM, jeff brown wrote: Yes, that's the best way to clean up after yoursel

Re: [PHP] Where's my memory going?!

2009-09-30 Thread Philip Thompson
On Sep 29, 2009, at 5:51 PM, Jim Lucas wrote: Philip Thompson wrote: On Sep 29, 2009, at 4:38 PM, Jim Lucas wrote: Philip Thompson wrote: On Sep 28, 2009, at 4:40 PM, jeff brown wrote: Yes, that's the best way to clean up after yourself. And you really should use that on anything you ha

Re: [PHP] Where's my memory going?!

2009-09-29 Thread Eddie Drapkin
On Tue, Sep 29, 2009 at 6:51 PM, Jim Lucas wrote: > Philip Thompson wrote: >> On Sep 29, 2009, at 4:38 PM, Jim Lucas wrote: >> >>> Philip Thompson wrote: On Sep 28, 2009, at 4:40 PM, jeff brown wrote: > Yes, that's the best way to clean up after yourself.  And you really > should

Re: [PHP] Where's my memory going?!

2009-09-29 Thread Jim Lucas
Philip Thompson wrote: > On Sep 29, 2009, at 4:38 PM, Jim Lucas wrote: > >> Philip Thompson wrote: >>> On Sep 28, 2009, at 4:40 PM, jeff brown wrote: >>> Yes, that's the best way to clean up after yourself. And you really should use that on anything you have sitting around daemon like.

Re: [PHP] Where's my memory going?!

2009-09-29 Thread Philip Thompson
On Sep 29, 2009, at 4:38 PM, Jim Lucas wrote: Philip Thompson wrote: On Sep 28, 2009, at 4:40 PM, jeff brown wrote: Yes, that's the best way to clean up after yourself. And you really should use that on anything you have sitting around daemon like. Jeff Philip Thompson wrote: On Sep 28, 2

Re: [PHP] Where's my memory going?!

2009-09-29 Thread Jim Lucas
Philip Thompson wrote: > On Sep 28, 2009, at 4:40 PM, jeff brown wrote: > >> Yes, that's the best way to clean up after yourself. And you really >> should use that on anything you have sitting around daemon like. >> >> Jeff >> >> Philip Thompson wrote: >>> On Sep 28, 2009, at 4:27 PM, Ralph Deffk

Re: [PHP] Where's my memory going?!

2009-09-29 Thread Philip Thompson
On Sep 29, 2009, at 3:23 PM, Philip Thompson wrote: On Sep 29, 2009, at 3:07 PM, jeff brown wrote: Philip Thompson wrote: On Sep 28, 2009, at 4:40 PM, jeff brown wrote: Yes, that's the best way to clean up after yourself. And you really should use that on anything you have sitting around d

Re: [PHP] Where's my memory going?!

2009-09-29 Thread Philip Thompson
On Sep 29, 2009, at 3:07 PM, jeff brown wrote: Philip Thompson wrote: On Sep 28, 2009, at 4:40 PM, jeff brown wrote: Yes, that's the best way to clean up after yourself. And you really should use that on anything you have sitting around daemon like. Jeff Philip Thompson wrote: On Sep 2

Re: [PHP] Where's my memory going?!

2009-09-29 Thread jeff brown
Philip Thompson wrote: On Sep 28, 2009, at 4:40 PM, jeff brown wrote: Yes, that's the best way to clean up after yourself. And you really should use that on anything you have sitting around daemon like. Jeff Philip Thompson wrote: On Sep 28, 2009, at 4:27 PM, Ralph Deffke wrote: well this

Re: [PHP] Where's my memory going?!

2009-09-29 Thread Philip Thompson
On Sep 28, 2009, at 4:40 PM, jeff brown wrote: Yes, that's the best way to clean up after yourself. And you really should use that on anything you have sitting around daemon like. Jeff Philip Thompson wrote: On Sep 28, 2009, at 4:27 PM, Ralph Deffke wrote: well this sound clearly to me lik

Re: [PHP] Where's my memory going?!

2009-09-28 Thread Philip Thompson
On Sep 28, 2009, at 4:18 PM, Jim Lucas wrote: Philip Thompson wrote: Hi all. I have a script that opens a socket, creates a persistent mysql connection, and loops to receive data. When the amount of specified data has been received, it calls a class which processes the data and inserts it

Re: [PHP] Where's my memory going?!

2009-09-28 Thread Jim Lucas
Philip Thompson wrote: > Hi all. > > I have a script that opens a socket, creates a persistent mysql > connection, and loops to receive data. When the amount of specified data > has been received, it calls a class which processes the data and inserts > it into the database. Each iteration, I unset

[PHP] Where's my memory going?!

2009-09-28 Thread Philip Thompson
Hi all. I have a script that opens a socket, creates a persistent mysql connection, and loops to receive data. When the amount of specified data has been received, it calls a class which processes the data and inserts it into the database. Each iteration, I unset/destruct that class I cal