YAJLINTO returns %error and %status 00359

Discussions relating to the ScottKlement.com port of the open source YAJL JSON Reader/Generator. This includes the YAJL tool as well as the YAJLR4, YAJLGEN, YAJLINTO and YAJLDTAGEN add-ons from ScottKlement.com. http://www.scottklement.com/yajl/
Scott Klement
Site Admin
Posts: 719
Joined: Sun Jul 04, 2021 5:12 am

Re: YAJLINTO returns %error and %status 00359

Post 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.
sLucke1015
Posts: 18
Joined: Tue Mar 07, 2023 3:09 pm

Re: YAJLINTO returns %error and %status 00359

Post 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!
Scott Klement
Site Admin
Posts: 719
Joined: Sun Jul 04, 2021 5:12 am

Re: YAJLINTO returns %error and %status 00359

Post 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.
sLucke1015
Posts: 18
Joined: Tue Mar 07, 2023 3:09 pm

Re: YAJLINTO returns %error and %status 00359

Post by sLucke1015 »

YAJL update installed and we are now processing documents large and small.

Thanks again Scott!!!
Post Reply