You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Daniel Dias (Jira)" <ji...@apache.org> on 2020/11/26 17:06:00 UTC

[jira] [Comment Edited] (TOMEE-2771) High memory consumption on TomEE MP flavor

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

Daniel Dias edited comment on TOMEE-2771 at 11/26/20, 5:05 PM:
---------------------------------------------------------------

Hello [~fcourtau],

 

not if help, but looking the code, when use "none" , the opentracing and metrics is disatible.

 

[https://github.com/apache/tomee/blob/master/tomee/tomee-microprofile/mp-common/src/main/java/org/apache/tomee/microprofile/config/TomEEConfigSource.java#L50-L53]

 

https://github.com/apache/tomee/blob/master/tomee/tomee-microprofile/mp-common/src/main/java/org/apache/tomee/microprofile/TomEEMicroProfileListener.java#L58-L66

 


was (Author: dds):
Hello [~fcourtau],

 

not if help, but looking the code, when use "none" , the opentracing and metrics is disatible.

 

https://github.com/apache/tomee/blob/master/tomee/tomee-microprofile/mp-common/src/main/java/org/apache/tomee/microprofile/config/TomEEConfigSource.java#L50-L53

> High memory consumption on TomEE MP flavor
> ------------------------------------------
>
>                 Key: TOMEE-2771
>                 URL: https://issues.apache.org/jira/browse/TOMEE-2771
>             Project: TomEE
>          Issue Type: Bug
>          Components: TomEE Core Server
>    Affects Versions: 8.0.0-Final, 8.0.1
>            Reporter: François Courtault
>            Priority: Major
>
> Hello,
> One of our µS uses TomEE MP flavor and we have memory issue with it.
> Performing a memory dump, we see a lot of org.apache.geronimo.microprofile.opentracing.impl.ScopeImpl  objects.
> We have another µS using TomEE Plus flavor and, with this one, we don't see at all any org.apache.geronimo.microprofile.opentracing.impl.ScopeImpl  object.
> So I did a comparison and found out that the only difference bewteen the 2 flavors is that in the system.properties, I have, for the MP flavour, this setting: tomee.mp.scan = all
>  
> BTW is there any clear documentation regarding this setting ?
> Could you confirm that if we haven't this entry in the system.properties or set to none then all MP specifications are disabled et runtime ?
> Possible enhancement request: having the possibility to enable/disable each MP spec individually.
>  
> Best Regards.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)