Page 2 of 2

Re: YAJLINTO returns %error and %status 00359

Posted: Sat Sep 09, 2023 5:43 am
by Scott Klement
I think perhaps I didn't explain well enough: I want to reproduce the problem so I can fix it. I can't reproduce it with a file that doesn't cause errors... Neither of the files you provided cause errors.

That said, I understand the problem now because of your comments about how you can't upload more than 256K. As we've already noted, it's failing on an %ALLOC BIF. This function can only reserve memory for up to 16 mb of data... you said your file was 32mb, and therefore it cannot possibly handle it.

I will change YAJLINTO to use Teraspace allocations instead of %ALLOC -- that will allow for much larger data sizes.

Re: YAJLINTO returns %error and %status 00359

Posted: Sat Sep 09, 2023 5:02 pm
by sLucke1015
That is awesome!
As some of my grandchildren would say, You are The Bomb!
I will keep an eye out for the updated YAJLINTO.
Thank you very much, Sir!

Re: YAJLINTO returns %error and %status 00359

Posted: Sat Sep 09, 2023 10:29 pm
by Scott Klement
Please try the newest version on my website: https://www.scottklement.com/yajl/

I tested it with a 94 mb JSON. It failed prior to the update, but worked fine after. Make sure iy works for you.

Re: YAJLINTO returns %error and %status 00359

Posted: Tue Sep 12, 2023 5:27 pm
by sLucke1015
YAJL update installed and we are now processing documents large and small.

Thanks again Scott!!!