[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

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 davi...@highgearmedia.comwrote: On Fri, Mar 11, 2011 at 11:35 AM, Daniel Hong dan...@amagineinc.comwrote: Is it possible to pinpoint the location where the most memory was used? Take a look

[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

[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 dan...@amagineinc.com wrote: Hello, I'm using the PHP OAuth extension and running

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

2011-03-04 Thread Daniel Hong
: 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 is 5.3.2, not 5.3.3. Can you give us an example of what you are doing? Jim Lucas Thanks, daniel On Fri

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

2011-03-04 Thread Daniel Hong
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 dan...@amagineinc.com wrote: Hi Jim, I'm using oauth to connect to Dropbox. The OAuth::getRequestToken() and OAuth::getAccessToken() works