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 17:47:25 GMT
2016-04-03 19:20 GMT+02:00 ravi sankar <sankar_ravi_c@yahoo.co.in>:
> Hi Romain,
>
> I am fine with default size of 4K.
>

Anyone else against - will wait 1 week before modifying it.

> 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).
>

https://issues.apache.org/jira/browse/JOHNZON-74

> 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
View raw message