Overview
| Artifact ID: | 9ed9f69f963f8b5433a4249cf8ffca3691935e97 |
|---|---|
| Ticket: | 1958930fffffffffffffffffffffffffffffffff
exec with pipes and fileevents leaks ~2Mb everytime |
| User & Date: | ferrieux on 2008-05-09 01:05:34 |
Changes
- icomment:
Logged In: YES user_id=496139 Originator: NO Gosh, just noticed the MS documentation says that the leak is the initial stack of the thread ! This might explain the variability of the size, since default stack size is largely in the hand of the OS. A quick workaround would be to minimize the stack size of PipeReaderThread, who doesn't need 2M... I also tried DisconnectNamedPipe(), but the poor guy blocks until all pending IO complete, so back to square one :-(
- login: "ferrieux"
- mimetype: "text/plain"
- username: "ferrieux"