johnzon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: Optimize the buffer size used by the Johnzon when used as Jaxrs Client
Date Sun, 03 Apr 2016 16:31:24 GMT
Hi Ravi

- to make it easier to follow for others - would my proposal of
decreasing the default buffer be enough? 4k?

Romain Manni-Bucau
@rmannibucau |  Blog | Github | LinkedIn | Tomitriber


2016-04-03 17:37 GMT+02:00 ravi sankar <sankar_ravi_c@yahoo.co.in.invalid>:
> Hi Everyone,
> This is this continuation of discussion from here http://tomee-openejb.979440.n4.nabble.com/JsonParserFactoryImpl-holds-20mb-heap-memory-when-used-as-jaxrs-client-in-tomee-td4678031.html
> Feature Request: Johnzon to automatically adjust the buffer size used for parsing json
field/value strings.
> Should start will a small buffer size and should increase when required until it reaches
a maximum value set in 'org.apache.johnzon.max-string-length' or the current default value
of 10 Mega Bytes.
>
> Thanks,Ravi

Mime
View raw message