Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
1 comment

fix SystemStackError when parsing large JSON files

When parsing large JSON files the array listing marks can become quite
large. When exploded and passed to `Array#push`, they are pushed onto the
thread stack and ruby raise a `SystemStackError`.

This fix just build the array the other way around, thus preventing filling up
the thread stack.

For more details see [SystemStackError when pushing more than 130798
objects into an array](
latest commit d998d2a55f
@jgoyon jgoyon authored
Something went wrong with that request. Please try again.