in reply to Out of Memory
and this is widely accepted as bad approach.$mstr =~ s/<t\/>/<t><\/t>/gsm; # this handles an empty t tag +in the xml <t/>
Actually such regular expressions on huge strings usually cause out-of-memory.
I can not think of any better advice, other than updating this module and then proposing changes to author.
Regards,
Vadim.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Out of Memory
by Corion (Patriarch) on May 05, 2011 at 07:38 UTC | |
by vkon (Curate) on May 05, 2011 at 08:28 UTC | |
|
Re^2: Out of Memory
by ETLTCHFIG (Novice) on May 05, 2011 at 18:16 UTC | |
by vkon (Curate) on May 05, 2011 at 19:26 UTC | |
by ETLTCHFIG (Novice) on May 05, 2011 at 19:45 UTC | |
by ETLTCHFIG (Novice) on May 05, 2011 at 20:31 UTC | |
by vkon (Curate) on May 06, 2011 at 06:17 UTC |