Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: threads causing memory leak

by Proclus (Beadle)
on Sep 12, 2010 at 11:44 UTC ( [id://859834]=note: print w/replies, xml ) Need Help??


in reply to threads causing memory leak

Using threads heavily in Windows GUI applications will lead to problems.

My setup is always built on top of POE and a single worker thread using Thread::Queue. This mechanism has given me quite the flexibility in my projects.

You join the thread just before the application is closed. That seems to be a work around for the crash problems caused by the bugs in the GUI libraries.

In your case, I would have a look at POE-Component-Client-HTTP. Also, you may not need a thread.


"Geneva will not marry you no matter how much you love Larry Wall." Geneva Wall.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://859834]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2024-04-25 06:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found