Hi,
I would like to parse a log file with PetitParser. I wrote the parser and it works with a test file of 5,3 Mo.
But the real case is 73,6 Mo…
The main problem is that PetitParser calls asPetitStream, which calls contents on the file.
At this point, the primitive 72 #elementsForwardIdentityTo: fails for #'insufficient object memory'. However, my image is new so it should not raise an error because I have at least 500 Mo of free space.
Is there an way to parse the file as a stream to avoid the call to contents?
Maybe by using PPStream?
Thanks in advance,
Cheers,
Vincent