François Courtault created TOMEE-2771:
-----------------------------------------

             Summary: 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


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)

Reply via email to