Hi Romain,
I am fine with default size of 4K.
Just one suggestion is to print some thing like this
org.apache.johnzon.max-string-length limit has been reached please increase the
string/number buffer size (Developers don't have to refer documentation or
search in google for property name they need to tweak).
Thanks,Ravisankar Challa
On Monday, 4 April 2016 2:31 AM, Romain Manni-Bucau <[email protected]>
wrote:
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 <[email protected]>:
> 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