I’m encountering this error and as far as I can tell it is related to my use of a regular expression.
I’m using proprietary commercial data, so can’t easily share. However, I’m trying to read a set of files from a very large zip archive using ZipArchives.jl. I can open the archive and get a list of the 360 files it contains. I only want a small subset of these so I’m using
Another file in the big zip file is a second, nested zip file. I can read this using ZipArchives.jl and, using a simpler regex, this method works fine, doesn’t crash, and produces the reduced list of matching files:
I can’t move the regexp because the HD part is actually a computed value that is only known within the loop. Each iteration of the loop needs a different csv file.
I wasn’t aware that escaping in regular expressions was different from the normal escaping in julia strings - hence the use of \\. Now I know!
The problem actually turned out (as usual) to be down to my error. The character in question should have been / not \! Once this change was made, the problem went away.
The error PCRE JIT error: no more memory was singularly unhelpful to this learner!