in reply to regex on gigabyte string

As others said, better use a real XML module!

> Any ruminations on such an eclectic matter?

Regarding 5 GB strings, I wouldn't be surprised if it couldn't be sufficiently held in memory and Perl's attempts to outsource leads to problems.

Cheers Rolf

Replies are listed 'Best First'.
Re^2: regex on gigabyte string
by focusonz (Initiate) on Jan 26, 2013 at 19:05 UTC

    I am running perl 5.16.2 64bit on a 16GB I7 machine and have given it a cursory test to the 16GB max and have found no other problems

    It could be the regex engine in x64 perl still has a 4GB limit?? substring() works out to 16GB $bigstring