Chunk size must be less than buffer size in rapidjson or forces allocate.