I have a program that uses SQL to read a table and write the JSON reformatted data to the IFS using YAJL. This is going to be a BIG file. Since YAJL builds the file in memory, this is going to consume a LOT of memory.

In the Windows world, when a program needs memory and none is available, Windows shuffles some memory to disk and frees up that memory. Does the IBM i basically work the same way or am I going to eat all of the memory and crash the machine? ☹

I'm thinking that I might need to rewrite the program to get away from YAJL and just manually write each record to the IFS as it is processed.

Thoughts?



This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.