3 ms·
Reading an 80mb JSON file in Node wouldn't be an issue either, so that's surprising.
by winrid 4y ago
Reading an 80mb JSON file in Node wouldn't be an issue either, so that's surprising.
- aidenn0 4y agoAlso there's no problem reading an 80MB JSON file in CL. I suspect gp was using cl:load which is for loading source files. SBCL definitely struggles with very large source files; I never bothered debugging that since I don't need 80mb source files.
- floren 4y agoI was calling read. I suspect the real problem is explained by another commenter, who points out that 80 MB of ASCII text will become 240MB of UTF32 in the hands of SBCL, not to mention all the additional words of memory required for cons cells.