On 01/12/2010, at 5:00 PM, D Tim Cummings wrote:

> Hi Q
> 
> WOHTTPConnection

^^^ There's your problem.  Don't use that class, it's broken. I once 
encountered a case where it would not work with a particular url, no matter 
what I did, it would always hang. If I changed the data being returned slightly 
it worked fine. I have not used it since. As others have suggested, use 
HttpClient instead.

> sendRequest(WORequest request) creates a new thread to implement timeout.  I 
> was creating threads also because the sendRequest implementation of timeout 
> wasn't working for me.  I disabled my code that created threads but was still 
> getting the OutOfMemory problem.
> 
> Start of the thread dump below. I was able to reproduce the problem by 
> manually clicking on the refresh page button over and over again.


-- 
Seeya...Q

Quinton Dolan - qdo...@gmail.com
Gold Coast, QLD, Australia (GMT+10)




 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to