johnzon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ravi sankar <sankar_rav...@yahoo.co.in.INVALID>
Subject Re: Optimize the buffer size used by the Johnzon when used as Jaxrs Client
Date Sun, 03 Apr 2016 17:20:26 GMT
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 <rmannibucau@gmail.com> 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 <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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message