Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

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?


Replies are listed 'Best First'.
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 fog begins to lift...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2018-06-18 14:27 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (110 votes). Check out past polls.