Hello group I'm getting the following error message when running my Perl program:
Out of Memory!
The program reads in an ASCII file into a string variable $lines. Then parses $lines looking for certain types of entities as follows...
while ($lines =~ s/(INSERT INTO.+?)\#<end_insert>(.+)/$2/si) {
# processing goes here
}
No problem reading in the file. The 'Out of Memory' error occurs as soon as the while statement is first executed.
This program has been running for several years now and the size of the input file has grown steadily to where it is now approximately 2.4 megabytes.
I've searched the Perl documentation but can't find anything concerning the 'Out of Memory!' error message.
Has anyone encountered this error message before and if so, is there any way for me to get around this problem? I'm on a shared hosting system and have no privleges to recompile Perl.
I'm only receiving the digest version of this list so would appreciate emails directed to [EMAIL PROTECTED]
Thanks for any help!
Tony
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>