Hello,

I am parsing a binary file,extract the informations I want , and put them in an AV*
I am doing this in the way:
AV* res;
SV* res1;


res1 = newSVpvn(data, strlen(data));
av_push(res,res1);

After the file was parsed I return the AV* to a method of my module. It works perfect on little files.
But if I parse a huge file (> 200MB) Perl uses more and more memory, ca. 800 MB.
Can anyone tell me how to avoid this?


Thank you,
Reinhard



Reply via email to