Hacker News new | ask | show | jobs
by fiddlerwoaroof 1385 days ago
You can run into similar issues in the JVM if `-Xmx#` is too small. This has to do with the way sbcl’s decided to manage the heap and other implementations won’t have this issue. But, I typically start sbcl with an 8GB heap and basically never run into this when consuming large files.

But, also, once you hit a couple megabytes or so, it’s almost always better IMO to consume a file incrementally rather than all at once.