Hello,

it depends the scanning coverage for your app, normally you can tune it
using scan.xml (in WEB-INF) to only scan the EE classes (CDI/EJB) and not
all others which will reduce it at the minimum.
 See http://tomee.apache.org/refcard/refcard.html for more details

Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
<https://www.packtpub.com/application-development/java-ee-8-high-performance>


Le lun. 29 oct. 2018 à 14:53, cedr29 <[email protected]> a écrit :

> Hi,
>
> I would like to know if increase of heap memory is normal just after
> booting
> tomee.
> I ran GC and analysed hprof in "Memory Analyser"
>
> It tells me that I have :
> - 17,3Mo of "org.apache.bval.cdi.BValExtension".
> Next ones are
> -"java.net.URLClassLoader" with 5.1Mo
> - TomEEWebappClassLoader with 5Mo
> webbeans.container.BeanManagerImpl with 3.7Mo
>
> Those values are coherent?
>
> By default I have 192Mo max for Heap size.
> I expose more and more REST APIs et SOAP WS and i d like to know if its
> normal heap size takes 150Mo just after boot.
>
> Thank You
>
>
>
> --
> Sent from:
> http://tomee-openejb.979440.n4.nabble.com/TomEE-Users-f979441.html
>

Reply via email to