good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^3: Garbage collection problem?? (Win32 CRTL malloc)by BrowserUk (Patriarch) |
on Dec 27, 2006 at 20:27 UTC ( [id://591932]=note: print w/replies, xml ) | Need Help?? |
Actually, it appears to be more to do with realloc and/or free rather than malloc per se, but also there seem to be some pretty strange things going on with respect to error handling. I get the impression, but haven't got proof yet, that it may be something to do with the way Perl is using the CRT, possibly to do with how it handles errors. Has anyone tried the OP code on a non-threaded 5.8.x Win32 build? There are lots ( literally millions) of repetitions of the call sequence:
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Seekers of Perl Wisdom
|
|