Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: Slow wind-up in Windows?

by dash2 (Hermit)
on Jun 18, 2003 at 09:46 UTC ( #266765=note: print w/ replies, xml ) Need Help??

in reply to Slow wind-up in Windows?

"Deep recursion" is a warning according to perldiag, so maybe you could profile your script with warnings turned off?


Comment on Re: Slow wind-up in Windows?
Re: Re: Slow wind-up in Windows?
by tall_man (Parson) on Jun 18, 2003 at 13:55 UTC
    It doesn't help, because soon after that Windows runs out of virtual memory.
      Heh... I just thought it was the profiler recursing a lot, but maybe you really do have an infinite loop there when the profiler is turned on.

      The other thing you could do is try and debug it in the debugger, figure out what is going on that way. You might just spot something obvious. But I have to say, I don't have much experience with debugging global destruction. perldebug says:

      Set the "inhibit_exit" option to 0 if you want to be able to step off the end the script. You may also need to set $finished to 0 if you want to step through global destruction.

      It sounds to me like the posix::_exit() workaround is good enough.


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (19)
As of 2015-07-02 10:17 GMT
Find Nodes?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...

    Results (33 votes), past polls