Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
Do you know where your variables are?
 
PerlMonks  

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?

andramoiennepemousapolutropon


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.

      andramoiennepemousapolutropon

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2014-04-18 02:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (460 votes), past polls