Re: [PHP] Possible to pinpoint peak memory usage?

2011-03-11 Thread Daniel Hong
Nice. I will give XHProf a try. Thanks! -daniel On Fri, Mar 11, 2011 at 12:04 PM, David Harkness wrote: > On Fri, Mar 11, 2011 at 11:35 AM, Daniel Hong wrote: > >> Is it possible to pinpoint the location where the most memory was used? > > > Take a look at XHProf. [1] It

[PHP] Possible to pinpoint peak memory usage?

2011-03-11 Thread Daniel Hong
Hello, Is it possible to pinpoint the location where the most memory was used? I log memory_get_peak_usage() in sections of my code where I believe the most memory would be consumed, but I haven't had luck with getting an accurate picture. I also log the peak usage at the very end of the code. I c

Re: [PHP] Re: Possible bug in PHP 5.3.5 with OAuth extension?

2011-03-04 Thread Daniel Hong
lap on the back of my head! I've gone and install version 1.0.0 for the time being, seems to be working fine. -daniel On Fri, Mar 4, 2011 at 6:19 PM, Daniel Hong wrote: > Hi Jim, > > I'm using oauth to connect to Dropbox. The OAuth::getRequestToken() and > OAuth::getAc

Re: [PHP] Re: Possible bug in PHP 5.3.5 with OAuth extension?

2011-03-04 Thread Daniel Hong
. Thanks, daniel On Fri, Mar 4, 2011 at 5:30 PM, Jim Lucas wrote: > On 3/4/2011 5:18 PM, Daniel Hong wrote: > > Correction: > > > > I stated the incorrect version of PHP that does not seem to have this > issue. > > The version of PHP that works correctly i

[PHP] Re: Possible bug in PHP 5.3.5 with OAuth extension?

2011-03-04 Thread Daniel Hong
Correction: I stated the incorrect version of PHP that does not seem to have this issue. The version of PHP that works correctly is 5.3.2, not 5.3.3. Thanks, daniel On Fri, Mar 4, 2011 at 11:40 AM, Daniel Hong wrote: > Hello, > > I'm using the PHP OAuth extension and running

[PHP] Possible bug in PHP 5.3.5 with OAuth extension?

2011-03-04 Thread Daniel Hong
Hello, I'm using the PHP OAuth extension and running into a strange issue. I'm not sure if it's a bug in PHP 5.3.5, or if it's a bug in the OAuth extension when installed on a system with PHP 5.3.5. On a machine with PHP 5.3.5, when I call OAuth::fetch() with http method of POST, the debug info i