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

2020-11-26 Thread Jira


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

François Courtault commented on TOMEE-2771:
---

OK but if we use tomee micro-profile flavor, the goal is to use some facilities 
provided by the MP specifications, for example, metrics and opentracing.

The big issue is that when we enable this stuff, the memor usage is quite high 
!!!

So it's un runtime issue that has to be fixed ?

 

BTW, I have seen that Tomee 8.0.5 has been released,  This 8.0.5 is certified 
agains which MP version 3.2 ?  3.3 ?

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


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

2020-11-26 Thread Daniel Dias (Jira)


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

Daniel Dias commented on TOMEE-2771:


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)


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

2020-11-25 Thread Jira


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

François Courtault commented on TOMEE-2771:
---

Any update on this ?

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