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

Jean-Baptiste Onofré commented on KARAF-6115:
---------------------------------------------

Good idea, even if I don't think it's a huge memory consumption.

> Avoid repeated calls to ACLConfigurationParser.trimKeys/removeSpaces
> --------------------------------------------------------------------
>
>                 Key: KARAF-6115
>                 URL: https://issues.apache.org/jira/browse/KARAF-6115
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf
>    Affects Versions: 4.1.7
>            Reporter: Martin Lichtin
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>             Fix For: 4.1.8, 4.2.4
>
>         Attachments: image-2019-01-27-09-23-40-248.png
>
>
> Repeated calls to this method allocate quite a bit of memory that is showing 
> during GC.
> Excerpt from flight recorder:
> !image-2019-01-27-09-23-40-248.png!
> It would be better to 'trim' the configuration once only, e.g. in 
> SecuredSessionFactoryImpl



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

Reply via email to