in reply to Re: Re: Allocating more memory to perl process...
in thread Allocating more memory to perl process...

According to the perl manpage, "Recursion is of unlimited depth"

Perhaps your problem is with the debugger? Perl will generate the warning when you get 100 levels deep if you have warnings turned on, but it shouldn't die on you. What happens when you run the script without the debugger?

I agree that the problem isn't likely to be memory usage; you can run the program while watching the output from top sorted by memory to confirm that.

Could you post some sample data so we can try to reproduce your error?

Replies are listed 'Best First'.
Re: Re: Re: Re: Allocating more memory to perl process...
by Bamafan (Initiate) on Nov 13, 2002 at 00:56 UTC
    Actually, I change my original answer. After studying the alogigrithm and my implementation and use (as well as taking your advice and running top), my resources get clobbered. After I get up around 3000K of free memory or so, the process get killed. I'll probably just need to reimplement the algorithm in an iterative fashion...hey this can be my new question to your gurus. How can I reimplement merlyn's algorithm that I link above in an iterative fashion? :)

    Thanks, Bamafan