Re: Exception in thread "main" java.lang.OutOfMemoryError: Java heap space while loading bulk data
Misha Brukman <mbru...@...>
You might consider using a format other than JSON which can easily read incrementally, such as CSV or a more compact binary encoding such as:
or you may want to use a streaming JSON reader which will read as little as possible to generate a meaningful callback. Several options exist (I have not tested these), e.g.,
If you search on Stack Overflow, you'll find others have had exactly the same issue as here with Python and JSON files, and the answers to those questions all pointed to incremental JSON parser libraries for Python as the solution to the OOMs. On Tue, Aug 8, 2017 at 10:49 AM, Amyth Arora <aroras....@...> wrote:
|
|