Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recursion Limit

Status
Not open for further replies.

markstangroom

Technical User
Apr 25, 2001
96
GB
I have a perl cgi/dbi script running on a webserver. this script looks up data in a text file and has been happliy working for years now.

I am now setting up a new server with a newer version of Perl. Now that I have transfered over the script etc it will not run if there are too many entries and I get an error message saying recursion limit has been exceeded.If I reduce the size of the text file the problem goes away.

is there something in the new version of perl which is causing this problem.

any help would be greatly appreciated.

thanks

Mark
 
What version of Perl were you using and what version now. Is this running on Windows, Linux or another Operating System, How big is the file?

There are many factors involved and may not be the perl code that is the problem. It could be the fact that you are storing the contents of the file in such a way that it is hogging memory.

Could you provide a code snippet of how you are accessing and storing the file.

Barbie. Leader of Birmingham Perl Mongers
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Sponsor

Back
Top