[ 
https://issues.apache.org/jira/browse/JOHNZON-156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16359389#comment-16359389
 ] 

Mark Struberg commented on JOHNZON-156:
---------------------------------------

Already got fixed with commit e9a1e0e2d47fe30b2a55b0bb4f16f13853f2187a

There is now a system property which can be set via

{noformat}

java -Dorg.apache.johnzon.buffer-strategy=BY_INSTANCE

{noformat}

 

The possible values are defined in the org.apache.johnzon.core.BufferStrategy 
enum.

 

> Make BufferStrategy configurable via system.property
> ----------------------------------------------------
>
>                 Key: JOHNZON-156
>                 URL: https://issues.apache.org/jira/browse/JOHNZON-156
>             Project: Johnzon
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.1.5
>         Environment: The default BufferStrategy is QUEUE. That means that 
> buffers are reused between requests and stored in a Queue.
> Sometimes it's required to switch to a different BufferStrategy default for 
> all operations.
> This might happen for cases where very low memory consumption is required. 
> But also when handling high sensitive data and you don't want to potentially 
> keep sensitive data around in buffers for a long time.
>            Reporter: Mark Struberg
>            Assignee: Mark Struberg
>            Priority: Major
>             Fix For: 1.1.6
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to