Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: regex on gigabyte string

by LanX (Chancellor)
on Jan 26, 2013 at 16:54 UTC ( #1015514=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1015514]
help
Chatterbox?
[stevieb]: yeah. This is my build/test software that manipulates perlbrew/ berrybrew, and runs all unit tests of a project against all installed versions, including testing a dist against all of it's current revdeps. A lot of tests it runs for itself:)
[stevieb]: testing the test build system, essentially

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2017-03-26 22:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (315 votes). Check out past polls.