You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ivano Luberti <lu...@archicoop.it.INVALID> on 2024/07/25 13:43:16 UTC
java code cache size question
Hi, I have a tomcat 9 instance that runs without specifying options for
the code cache.
Looking at the servet status I see
Code Cache Non-heap memory 2.43 MiB 163.93 MiB 240.00 MiB 147.30
MiB (61%)
So te maximum size is 240MB
Looking at Java documentation it states it should be 48MB if not altered
by options.
Is there someone able to suggest if tomcat can override autonomously the
default?
We start tomcat usinf tomcat.service file
Thanks in advance.
--
Archimede Informatica tratta i dati personali in conformità a quanto
stabilito dal Regolamento UE n. 2016/679 (GDPR) e dal D. Lgs. 30 giugno
2003 n. 196
per come modificato dal D.Lgs. 10 agosto 2018 n. 101.
Informativa completa
<http://www.archicoop.it/fileadmin/pdf/InformativaTrattamentoDatiPersonali.pdf>
Il contenuto di questo messaggio e dei suoi eventuali allegati è
riservato. Nel caso in cui Lei non sia il destinatario, La preghiamo di
contattare telefonicamente o via e-mail il mittente ai recapiti sopra
indicati e di cancellare il messaggio e gli eventuali allegati dal Suo
sistema senza farne copia o diffonderli. Le opinioni espresse sono
quelle dell'autore e non rappresentano necessariamente quelle della Società.
This message and any attachment are confidential.If you are not the
intended recipient, please telephone or email the sender and delete this
message and any attachment from your system. If you are not the intended
recipient you must not copy this message or attachment or disclose the
contents to any other person. Any opinions presented are solely those of
the author and do not necessarily represent those of the Company.
dott. Ivano Mario Luberti
Archimede Informatica società cooperativa a r. l.
Via Gereschi 36, 56127 Pisa
tel.: +39 050/580959 | fax: +39 050/8932061
web: www.archicoop.it
linkedin: www.linkedin.com/in/ivanoluberti
facebook: www.facebook.com/archimedeinformaticapisa/
Re: java code cache size question
Posted by Simon Matter <si...@invoca.ch>.
> Hi, I have a tomcat 9 instance that runs without specifying options for
> the code cache.
>
> Looking at the servet status I see
>
> Code Cache Non-heap memory 2.43 MiB 163.93 MiB 240.00 MiB 147.30
> MiB (61%)
>
> So te maximum size is 240MB
>
> Looking at Java documentation it states it should be 48MB if not altered
> by options.
At least for Java 17 this seems to be 240MiB:
-XX:ReservedCodeCacheSize=size
Sets the maximum code cache size (in bytes) for JIT-compiled code.
Append the letter k or K to indicate kilobytes, m or M to indicate
megabytes, or g or G to indicate gigabytes. The default maximum code
cache size is 240 MB; if you disable tiered compilation with the
option -XX:-TieredCompilation, then the default size is 48 MB. This
option has a limit of 2 GB; otherwise, an error is generated. The
maximum code cache size shouldn't be less than the initial code cache
size; see the option -XX:InitialCodeCacheSize.
Regards,
Simon
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: java code cache size question
Posted by Ivano Luberti <lu...@archicoop.it.INVALID>.
told you I'm tired, thanks
Il 25-Jul-24 16:29, Gregg, John E. ha scritto:
> That’s the documentation for embedded java. Unfortunately it’s near the top of search results for both Google and Bing.
>
> Try this instead:
>
> https://docs.oracle.com/javase/8/docs/technotes/tools/unix/java.html
>
>
> From: Ivano Luberti<lu...@archicoop.it.INVALID>
> Sent: Thursday, July 25, 2024 9:21 AM
> To:users@tomcat.apache.org
> Subject: Re: java code cache size question
>
> Thank you all. Try to answer to everyone in one mail. I forgot to check the java version in the oracle page I had found and since other blog pages were always referring to 48 MB I was left thinking there were no differences among version. (I'm
>
>
> Thank you all.
>
>
>
> Try to answer to everyone in one mail.
>
>
>
> I forgot to check the java version in the oracle page I had found and
>
> since other blog pages were always referring to 48 MB I was left
>
> thinking there were no differences among version.
>
>
>
> (I'm tired, going on holiday tomorrow :-) )
>
>
>
> The default being 240MB would make perfect sense but here Table 15-1
>
> states 48MB for Java8
>
>
>
> https://urldefense.com/v3/__https://docs.oracle.com/javase/8/embedded/develop-apps-platforms/codecache.htm__;!!F9svGWnIaVPGSwU!rdsUSU9ko6FRMmck0qRuav4dny-ZOcPvC8uRAqiBE78o8RpLN_LVffS4dd0KC0hn8rkdoRN_8vsLmKPDA5C2PLX9mGPbC7VG-w$<https://urldefense.com/v3/__https:/docs.oracle.com/javase/8/embedded/develop-apps-platforms/codecache.htm__;!!F9svGWnIaVPGSwU!rdsUSU9ko6FRMmck0qRuav4dny-ZOcPvC8uRAqiBE78o8RpLN_LVffS4dd0KC0hn8rkdoRN_8vsLmKPDA5C2PLX9mGPbC7VG-w$>
>
>
>
> Other people say that default should be 240 in JAVA8 but this is what I
>
> have found
>
>
>
> I know there is no tomcat.service provided by tomcat: I was just
>
> explaining the way we launch tomcat and where we specify java options,
>
> like memory size......and there no options for the code cache is specified.
>
>
>
>
>
>
>
> Il 25-Jul-24 15:56, Gregg, John E. ha scritto:
>
>> Ivano
>> 48MB was the default in the olden days. It is 240MB now. I believe the change came in Java 8 to accommodate the fact that the HotSpot compiler now compiles all methods when they are hit for the first time.
>> Thanks
>> From: Ivano Luberti<lu...@archicoop.it.INVALID>>
>> Sent: Thursday, July 25, 2024 8:43 AM
>> To:users@tomcat.apache.org
>> Subject: java code cache size question
>> Hi, I have a tomcat 9 instance that runs without specifying options for the code cache. Looking at the servet status I see Code Cache Non-heap memory 2. 43 MiB 163. 93 MiB 240. 00 MiB 147. 30 MiB (61%) So te maximum size is 240MB Looking at Java
>> Hi, I have a tomcat 9 instance that runs without specifying options for
>> the code cache.
>> Looking at the servet status I see
>> Code Cache Non-heap memory 2.43 MiB 163.93 MiB 240.00 MiB 147.30
>> MiB (61%)
>> So te maximum size is 240MB
>> Looking at Java documentation it states it should be 48MB if not altered
>> by options.
>> Is there someone able to suggest if tomcat can override autonomously the
>> default?
>> We start tomcat usinf tomcat.service file
>> Thanks in advance.
>> --
>> Archimede Informatica tratta i dati personali in conformità a quanto
>> stabilito dal Regolamento UE n. 2016/679 (GDPR) e dal D. Lgs. 30 giugno
>> 2003 n. 196
>> per come modificato dal D.Lgs. 10 agosto 2018 n. 101.
>> Informativa completa
>> <https://urldefense.com/v3/__http://www.archicoop.it/fileadmin/pdf/InformativaTrattamentoDatiPersonali.pdf__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw2Vh7VXOA$<https://urldefense.com/v3/__http:/www.archicoop.it/fileadmin/pdf/InformativaTrattamentoDatiPersonali.pdf__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw2Vh7VXOA$>><https://urldefense.com/v3/__http:/www.archicoop.it/fileadmin/pdf/InformativaTrattamentoDatiPersonali.pdf__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw2Vh7VXOA$%3chttps:/urldefense.com/v3/__http:/www.archicoop.it/fileadmin/pdf/InformativaTrattamentoDatiPersonali.pdf__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw2Vh7VXOA$%3e%3e%3e%3e%3e%3e>
>> <https://urldefense.com/v3/__http:/www.archicoop.it/fileadmin/pdf/InformativaTrattamentoDatiPersonali.pdf__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw2Vh7VXOA$%3chttps:/urldefense.com/v3/__http:/www.archicoop.it/fileadmin/pdf/InformativaTrattamentoDatiPersonali.pdf__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw2Vh7VXOA$%3e%3e%3e%3e%3e%3e>
>> <https://urldefense.com/v3/__http:/www.archicoop.it/fileadmin/pdf/InformativaTrattamentoDatiPersonali.pdf__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw2Vh7VXOA$%3chttps:/urldefense.com/v3/__http:/www.archicoop.it/fileadmin/pdf/InformativaTrattamentoDatiPersonali.pdf__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw2Vh7VXOA$%3e%3e%3e%3e%3e%3e>
>> <https://urldefense.com/v3/__http:/www.archicoop.it/fileadmin/pdf/InformativaTrattamentoDatiPersonali.pdf__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw2Vh7VXOA$%3chttps:/urldefense.com/v3/__http:/www.archicoop.it/fileadmin/pdf/InformativaTrattamentoDatiPersonali.pdf__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw2Vh7VXOA$%3e%3e%3e%3e%3e%3e>
>> <https://urldefense.com/v3/__http:/www.archicoop.it/fileadmin/pdf/InformativaTrattamentoDatiPersonali.pdf__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw2Vh7VXOA$%3chttps:/urldefense.com/v3/__http:/www.archicoop.it/fileadmin/pdf/InformativaTrattamentoDatiPersonali.pdf__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw2Vh7VXOA$%3e%3e%3e%3e%3e%3e>Il contenuto di questo messaggio e dei suoi eventuali allegati è
>> riservato. Nel caso in cui Lei non sia il destinatario, La preghiamo di
>> contattare telefonicamente o via e-mail il mittente ai recapiti sopra
>> indicati e di cancellare il messaggio e gli eventuali allegati dal Suo
>> sistema senza farne copia o diffonderli. Le opinioni espresse sono
>> quelle dell'autore e non rappresentano necessariamente quelle della Società.
>> This message and any attachment are confidential.If you are not the
>> intended recipient, please telephone or email the sender and delete this
>> message and any attachment from your system. If you are not the intended
>> recipient you must not copy this message or attachment or disclose the
>> contents to any other person. Any opinions presented are solely those of
>> the author and do not necessarily represent those of the Company.
>> dott. Ivano Mario Luberti
>> Archimede Informatica società cooperativa a r. l.
>> Via Gereschi 36, 56127 Pisa
>> tel.: +39 050/580959 | fax: +39 050/8932061
>> web:https://urldefense.com/v3/__http://www.archicoop.it__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw0MF78dPA$<https://urldefense.com/v3/__http:/www.archicoop.it__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw0MF78dPA$><https://urldefense.com/v3/__http:/www.archicoop.it__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw0MF78dPA$%3chttps:/urldefense.com/v3/__http:/www.archicoop.it__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw0MF78dPA$%3e%3e%3e>
>> <https://urldefense.com/v3/__http:/www.archicoop.it__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw0MF78dPA$%3chttps:/urldefense.com/v3/__http:/www.archicoop.it__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw0MF78dPA$%3e%3e%3e>
>> <https://urldefense.com/v3/__http:/www.archicoop.it__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw0MF78dPA$%3chttps:/urldefense.com/v3/__http:/www.archicoop.it__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw0MF78dPA$%3e%3e%3e>linkedin:https://urldefense.com/v3/__http://www.linkedin.com/in/ivanoluberti__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw1gFelivQ$<https://urldefense.com/v3/__http:/www.linkedin.com/in/ivanoluberti__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw1gFelivQ$><https://urldefense.com/v3/__http:/www.linkedin.com/in/ivanoluberti__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw1gFelivQ$%3chttps:/urldefense.com/v3/__http:/www.linkedin.com/in/ivanoluberti__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw1gFelivQ$%3e%3e%3e>
>> <https://urldefense.com/v3/__http:/www.linkedin.com/in/ivanoluberti__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw1gFelivQ$%3chttps:/urldefense.com/v3/__http:/www.linkedin.com/in/ivanoluberti__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw1gFelivQ$%3e%3e%3e>
>> <https://urldefense.com/v3/__http:/www.linkedin.com/in/ivanoluberti__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw1gFelivQ$%3chttps:/urldefense.com/v3/__http:/www.linkedin.com/in/ivanoluberti__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw1gFelivQ$%3e%3e%3e>facebook:https://urldefense.com/v3/__http://www.facebook.com/archimedeinformaticapisa/__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw0eJD3Tnw$<https://urldefense.com/v3/__http:/www.facebook.com/archimedeinformaticapisa/__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw0eJD3Tnw$><https://urldefense.com/v3/__http:/www.facebook.com/archimedeinformaticapisa/__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw0eJD3Tnw$%3chttps:/urldefense.com/v3/__http:/www.facebook.com/archimedeinformaticapisa/__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw0eJD3Tnw$%3e%3e%3e%3e-->
>> <https://urldefense.com/v3/__http:/www.facebook.com/archimedeinformaticapisa/__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw0eJD3Tnw$%3chttps:/urldefense.com/v3/__http:/www.facebook.com/archimedeinformaticapisa/__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw0eJD3Tnw$%3e%3e%3e%3e-->
>> <https://urldefense.com/v3/__http:/www.facebook.com/archimedeinformaticapisa/__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw0eJD3Tnw$%3chttps:/urldefense.com/v3/__http:/www.facebook.com/archimedeinformaticapisa/__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw0eJD3Tnw$%3e%3e%3e%3e-->
>> <https://urldefense.com/v3/__http:/www.facebook.com/archimedeinformaticapisa/__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw0eJD3Tnw$%3chttps:/urldefense.com/v3/__http:/www.facebook.com/archimedeinformaticapisa/__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw0eJD3Tnw$%3e%3e%3e%3e-->
> --<https://urldefense.com/v3/__http:/www.facebook.com/archimedeinformaticapisa/__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw0eJD3Tnw$%3chttps:/urldefense.com/v3/__http:/www.facebook.com/archimedeinformaticapisa/__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw0eJD3Tnw$%3e%3e%3e%3e-->
>
>
>
> Archimede Informatica tratta i dati personali in conformità a quanto
>
> stabilito dal Regolamento UE n. 2016/679 (GDPR) e dal D. Lgs. 30 giugno
>
> 2003 n. 196
>
> per come modificato dal D.Lgs. 10 agosto 2018 n. 101.
>
> Informativa completa
>
> <https://urldefense.com/v3/__http://www.archicoop.it/fileadmin/pdf/InformativaTrattamentoDatiPersonali.pdf__;!!F9svGWnIaVPGSwU!rdsUSU9ko6FRMmck0qRuav4dny-ZOcPvC8uRAqiBE78o8RpLN_LVffS4dd0KC0hn8rkdoRN_8vsLmKPDA5C2PLX9mGOSYMi6tw$<https://urldefense.com/v3/__http:/www.archicoop.it/fileadmin/pdf/InformativaTrattamentoDatiPersonali.pdf__;!!F9svGWnIaVPGSwU!rdsUSU9ko6FRMmck0qRuav4dny-ZOcPvC8uRAqiBE78o8RpLN_LVffS4dd0KC0hn8rkdoRN_8vsLmKPDA5C2PLX9mGOSYMi6tw$>>
>
>
>
> Il contenuto di questo messaggio e dei suoi eventuali allegati è
>
> riservato. Nel caso in cui Lei non sia il destinatario, La preghiamo di
>
> contattare telefonicamente o via e-mail il mittente ai recapiti sopra
>
> indicati e di cancellare il messaggio e gli eventuali allegati dal Suo
>
> sistema senza farne copia o diffonderli. Le opinioni espresse sono
>
> quelle dell'autore e non rappresentano necessariamente quelle della Società.
>
> This message and any attachment are confidential.If you are not the
>
> intended recipient, please telephone or email the sender and delete this
>
> message and any attachment from your system. If you are not the intended
>
> recipient you must not copy this message or attachment or disclose the
>
> contents to any other person. Any opinions presented are solely those of
>
> the author and do not necessarily represent those of the Company.
>
>
>
> dott. Ivano Mario Luberti
>
>
>
> Archimede Informatica società cooperativa a r. l.
>
> Via Gereschi 36, 56127 Pisa
>
>
>
> tel.: +39 050/580959 | fax: +39 050/8932061
>
>
>
> web:https://urldefense.com/v3/__http://www.archicoop.it__;!!F9svGWnIaVPGSwU!rdsUSU9ko6FRMmck0qRuav4dny-ZOcPvC8uRAqiBE78o8RpLN_LVffS4dd0KC0hn8rkdoRN_8vsLmKPDA5C2PLX9mGMXEoX3Iw$<https://urldefense.com/v3/__http:/www.archicoop.it__;!!F9svGWnIaVPGSwU!rdsUSU9ko6FRMmck0qRuav4dny-ZOcPvC8uRAqiBE78o8RpLN_LVffS4dd0KC0hn8rkdoRN_8vsLmKPDA5C2PLX9mGMXEoX3Iw$>
>
> linkedin:https://urldefense.com/v3/__http://www.linkedin.com/in/ivanoluberti__;!!F9svGWnIaVPGSwU!rdsUSU9ko6FRMmck0qRuav4dny-ZOcPvC8uRAqiBE78o8RpLN_LVffS4dd0KC0hn8rkdoRN_8vsLmKPDA5C2PLX9mGOb4QmdUA$<https://urldefense.com/v3/__http:/www.linkedin.com/in/ivanoluberti__;!!F9svGWnIaVPGSwU!rdsUSU9ko6FRMmck0qRuav4dny-ZOcPvC8uRAqiBE78o8RpLN_LVffS4dd0KC0hn8rkdoRN_8vsLmKPDA5C2PLX9mGOb4QmdUA$>
>
> facebook:https://urldefense.com/v3/__http://www.facebook.com/archimedeinformaticapisa/__;!!F9svGWnIaVPGSwU!rdsUSU9ko6FRMmck0qRuav4dny-ZOcPvC8uRAqiBE78o8RpLN_LVffS4dd0KC0hn8rkdoRN_8vsLmKPDA5C2PLX9mGM5qvNqZQ$<https://urldefense.com/v3/__http:/www.facebook.com/archimedeinformaticapisa/__;!!F9svGWnIaVPGSwU!rdsUSU9ko6FRMmck0qRuav4dny-ZOcPvC8uRAqiBE78o8RpLN_LVffS4dd0KC0hn8rkdoRN_8vsLmKPDA5C2PLX9mGM5qvNqZQ$>
>
--
Archimede Informatica tratta i dati personali in conformità a quanto
stabilito dal Regolamento UE n. 2016/679 (GDPR) e dal D. Lgs. 30 giugno
2003 n. 196
per come modificato dal D.Lgs. 10 agosto 2018 n. 101.
Informativa completa
<http://www.archicoop.it/fileadmin/pdf/InformativaTrattamentoDatiPersonali.pdf>
Il contenuto di questo messaggio e dei suoi eventuali allegati è
riservato. Nel caso in cui Lei non sia il destinatario, La preghiamo di
contattare telefonicamente o via e-mail il mittente ai recapiti sopra
indicati e di cancellare il messaggio e gli eventuali allegati dal Suo
sistema senza farne copia o diffonderli. Le opinioni espresse sono
quelle dell'autore e non rappresentano necessariamente quelle della Società.
This message and any attachment are confidential.If you are not the
intended recipient, please telephone or email the sender and delete this
message and any attachment from your system. If you are not the intended
recipient you must not copy this message or attachment or disclose the
contents to any other person. Any opinions presented are solely those of
the author and do not necessarily represent those of the Company.
dott. Ivano Mario Luberti
Archimede Informatica società cooperativa a r. l.
Via Gereschi 36, 56127 Pisa
tel.: +39 050/580959 | fax: +39 050/8932061
web: www.archicoop.it
linkedin: www.linkedin.com/in/ivanoluberti
facebook: www.facebook.com/archimedeinformaticapisa/
RE: java code cache size question
Posted by "Gregg, John E." <Jo...@wellsfargo.com.INVALID>.
That’s the documentation for embedded java. Unfortunately it’s near the top of search results for both Google and Bing.
Try this instead:
https://docs.oracle.com/javase/8/docs/technotes/tools/unix/java.html
From: Ivano Luberti <lu...@archicoop.it.INVALID>
Sent: Thursday, July 25, 2024 9:21 AM
To: users@tomcat.apache.org
Subject: Re: java code cache size question
Thank you all. Try to answer to everyone in one mail. I forgot to check the java version in the oracle page I had found and since other blog pages were always referring to 48 MB I was left thinking there were no differences among version. (I'm
Thank you all.
Try to answer to everyone in one mail.
I forgot to check the java version in the oracle page I had found and
since other blog pages were always referring to 48 MB I was left
thinking there were no differences among version.
(I'm tired, going on holiday tomorrow :-) )
The default being 240MB would make perfect sense but here Table 15-1
states 48MB for Java8
https://urldefense.com/v3/__https://docs.oracle.com/javase/8/embedded/develop-apps-platforms/codecache.htm__;!!F9svGWnIaVPGSwU!rdsUSU9ko6FRMmck0qRuav4dny-ZOcPvC8uRAqiBE78o8RpLN_LVffS4dd0KC0hn8rkdoRN_8vsLmKPDA5C2PLX9mGPbC7VG-w$<https://urldefense.com/v3/__https:/docs.oracle.com/javase/8/embedded/develop-apps-platforms/codecache.htm__;!!F9svGWnIaVPGSwU!rdsUSU9ko6FRMmck0qRuav4dny-ZOcPvC8uRAqiBE78o8RpLN_LVffS4dd0KC0hn8rkdoRN_8vsLmKPDA5C2PLX9mGPbC7VG-w$>
Other people say that default should be 240 in JAVA8 but this is what I
have found
I know there is no tomcat.service provided by tomcat: I was just
explaining the way we launch tomcat and where we specify java options,
like memory size......and there no options for the code cache is specified.
Il 25-Jul-24 15:56, Gregg, John E. ha scritto:
> Ivano
>
> 48MB was the default in the olden days. It is 240MB now. I believe the change came in Java 8 to accommodate the fact that the HotSpot compiler now compiles all methods when they are hit for the first time.
>
> Thanks
>
>
> From: Ivano Luberti<lu...@archicoop.it.INVALID>>
> Sent: Thursday, July 25, 2024 8:43 AM
> To:users@tomcat.apache.org
> Subject: java code cache size question
>
> Hi, I have a tomcat 9 instance that runs without specifying options for the code cache. Looking at the servet status I see Code Cache Non-heap memory 2. 43 MiB 163. 93 MiB 240. 00 MiB 147. 30 MiB (61%) So te maximum size is 240MB Looking at Java
>
>
> Hi, I have a tomcat 9 instance that runs without specifying options for
>
> the code cache.
>
>
>
> Looking at the servet status I see
>
>
>
> Code Cache Non-heap memory 2.43 MiB 163.93 MiB 240.00 MiB 147.30
>
> MiB (61%)
>
>
>
> So te maximum size is 240MB
>
>
>
> Looking at Java documentation it states it should be 48MB if not altered
>
> by options.
>
>
>
> Is there someone able to suggest if tomcat can override autonomously the
>
> default?
>
>
>
> We start tomcat usinf tomcat.service file
>
>
>
> Thanks in advance.
>
>
>
>
>
> --
>
>
>
> Archimede Informatica tratta i dati personali in conformità a quanto
>
> stabilito dal Regolamento UE n. 2016/679 (GDPR) e dal D. Lgs. 30 giugno
>
> 2003 n. 196
>
> per come modificato dal D.Lgs. 10 agosto 2018 n. 101.
>
> Informativa completa
>
> <https://urldefense.com/v3/__http://www.archicoop.it/fileadmin/pdf/InformativaTrattamentoDatiPersonali.pdf__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw2Vh7VXOA$<https://urldefense.com/v3/__http:/www.archicoop.it/fileadmin/pdf/InformativaTrattamentoDatiPersonali.pdf__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw2Vh7VXOA$>><https://urldefense.com/v3/__http:/www.archicoop.it/fileadmin/pdf/InformativaTrattamentoDatiPersonali.pdf__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw2Vh7VXOA$%3chttps:/urldefense.com/v3/__http:/www.archicoop.it/fileadmin/pdf/InformativaTrattamentoDatiPersonali.pdf__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw2Vh7VXOA$%3e%3e%3e%3e%3e%3e>
> <https://urldefense.com/v3/__http:/www.archicoop.it/fileadmin/pdf/InformativaTrattamentoDatiPersonali.pdf__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw2Vh7VXOA$%3chttps:/urldefense.com/v3/__http:/www.archicoop.it/fileadmin/pdf/InformativaTrattamentoDatiPersonali.pdf__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw2Vh7VXOA$%3e%3e%3e%3e%3e%3e>
> <https://urldefense.com/v3/__http:/www.archicoop.it/fileadmin/pdf/InformativaTrattamentoDatiPersonali.pdf__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw2Vh7VXOA$%3chttps:/urldefense.com/v3/__http:/www.archicoop.it/fileadmin/pdf/InformativaTrattamentoDatiPersonali.pdf__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw2Vh7VXOA$%3e%3e%3e%3e%3e%3e>
> <https://urldefense.com/v3/__http:/www.archicoop.it/fileadmin/pdf/InformativaTrattamentoDatiPersonali.pdf__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw2Vh7VXOA$%3chttps:/urldefense.com/v3/__http:/www.archicoop.it/fileadmin/pdf/InformativaTrattamentoDatiPersonali.pdf__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw2Vh7VXOA$%3e%3e%3e%3e%3e%3e>
><https://urldefense.com/v3/__http:/www.archicoop.it/fileadmin/pdf/InformativaTrattamentoDatiPersonali.pdf__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw2Vh7VXOA$%3chttps:/urldefense.com/v3/__http:/www.archicoop.it/fileadmin/pdf/InformativaTrattamentoDatiPersonali.pdf__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw2Vh7VXOA$%3e%3e%3e%3e%3e%3e>Il contenuto di questo messaggio e dei suoi eventuali allegati è
>
> riservato. Nel caso in cui Lei non sia il destinatario, La preghiamo di
>
> contattare telefonicamente o via e-mail il mittente ai recapiti sopra
>
> indicati e di cancellare il messaggio e gli eventuali allegati dal Suo
>
> sistema senza farne copia o diffonderli. Le opinioni espresse sono
>
> quelle dell'autore e non rappresentano necessariamente quelle della Società.
>
> This message and any attachment are confidential.If you are not the
>
> intended recipient, please telephone or email the sender and delete this
>
> message and any attachment from your system. If you are not the intended
>
> recipient you must not copy this message or attachment or disclose the
>
> contents to any other person. Any opinions presented are solely those of
>
> the author and do not necessarily represent those of the Company.
>
>
>
> dott. Ivano Mario Luberti
>
>
>
> Archimede Informatica società cooperativa a r. l.
>
> Via Gereschi 36, 56127 Pisa
>
>
>
> tel.: +39 050/580959 | fax: +39 050/8932061
>
>
>
> web:https://urldefense.com/v3/__http://www.archicoop.it__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw0MF78dPA$<https://urldefense.com/v3/__http:/www.archicoop.it__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw0MF78dPA$><https://urldefense.com/v3/__http:/www.archicoop.it__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw0MF78dPA$%3chttps:/urldefense.com/v3/__http:/www.archicoop.it__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw0MF78dPA$%3e%3e%3e>
> <https://urldefense.com/v3/__http:/www.archicoop.it__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw0MF78dPA$%3chttps:/urldefense.com/v3/__http:/www.archicoop.it__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw0MF78dPA$%3e%3e%3e>
><https://urldefense.com/v3/__http:/www.archicoop.it__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw0MF78dPA$%3chttps:/urldefense.com/v3/__http:/www.archicoop.it__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw0MF78dPA$%3e%3e%3e>linkedin:https://urldefense.com/v3/__http://www.linkedin.com/in/ivanoluberti__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw1gFelivQ$<https://urldefense.com/v3/__http:/www.linkedin.com/in/ivanoluberti__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw1gFelivQ$><https://urldefense.com/v3/__http:/www.linkedin.com/in/ivanoluberti__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw1gFelivQ$%3chttps:/urldefense.com/v3/__http:/www.linkedin.com/in/ivanoluberti__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw1gFelivQ$%3e%3e%3e>
> <https://urldefense.com/v3/__http:/www.linkedin.com/in/ivanoluberti__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw1gFelivQ$%3chttps:/urldefense.com/v3/__http:/www.linkedin.com/in/ivanoluberti__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw1gFelivQ$%3e%3e%3e>
><https://urldefense.com/v3/__http:/www.linkedin.com/in/ivanoluberti__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw1gFelivQ$%3chttps:/urldefense.com/v3/__http:/www.linkedin.com/in/ivanoluberti__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw1gFelivQ$%3e%3e%3e>facebook:https://urldefense.com/v3/__http://www.facebook.com/archimedeinformaticapisa/__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw0eJD3Tnw$<https://urldefense.com/v3/__http:/www.facebook.com/archimedeinformaticapisa/__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw0eJD3Tnw$><https://urldefense.com/v3/__http:/www.facebook.com/archimedeinformaticapisa/__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw0eJD3Tnw$%3chttps:/urldefense.com/v3/__http:/www.facebook.com/archimedeinformaticapisa/__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw0eJD3Tnw$%3e%3e%3e%3e-->
> <https://urldefense.com/v3/__http:/www.facebook.com/archimedeinformaticapisa/__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw0eJD3Tnw$%3chttps:/urldefense.com/v3/__http:/www.facebook.com/archimedeinformaticapisa/__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw0eJD3Tnw$%3e%3e%3e%3e-->
> <https://urldefense.com/v3/__http:/www.facebook.com/archimedeinformaticapisa/__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw0eJD3Tnw$%3chttps:/urldefense.com/v3/__http:/www.facebook.com/archimedeinformaticapisa/__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw0eJD3Tnw$%3e%3e%3e%3e-->
> <https://urldefense.com/v3/__http:/www.facebook.com/archimedeinformaticapisa/__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw0eJD3Tnw$%3chttps:/urldefense.com/v3/__http:/www.facebook.com/archimedeinformaticapisa/__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw0eJD3Tnw$%3e%3e%3e%3e-->
--<https://urldefense.com/v3/__http:/www.facebook.com/archimedeinformaticapisa/__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw0eJD3Tnw$%3chttps:/urldefense.com/v3/__http:/www.facebook.com/archimedeinformaticapisa/__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw0eJD3Tnw$%3e%3e%3e%3e-->
Archimede Informatica tratta i dati personali in conformità a quanto
stabilito dal Regolamento UE n. 2016/679 (GDPR) e dal D. Lgs. 30 giugno
2003 n. 196
per come modificato dal D.Lgs. 10 agosto 2018 n. 101.
Informativa completa
<https://urldefense.com/v3/__http://www.archicoop.it/fileadmin/pdf/InformativaTrattamentoDatiPersonali.pdf__;!!F9svGWnIaVPGSwU!rdsUSU9ko6FRMmck0qRuav4dny-ZOcPvC8uRAqiBE78o8RpLN_LVffS4dd0KC0hn8rkdoRN_8vsLmKPDA5C2PLX9mGOSYMi6tw$<https://urldefense.com/v3/__http:/www.archicoop.it/fileadmin/pdf/InformativaTrattamentoDatiPersonali.pdf__;!!F9svGWnIaVPGSwU!rdsUSU9ko6FRMmck0qRuav4dny-ZOcPvC8uRAqiBE78o8RpLN_LVffS4dd0KC0hn8rkdoRN_8vsLmKPDA5C2PLX9mGOSYMi6tw$>>
Il contenuto di questo messaggio e dei suoi eventuali allegati è
riservato. Nel caso in cui Lei non sia il destinatario, La preghiamo di
contattare telefonicamente o via e-mail il mittente ai recapiti sopra
indicati e di cancellare il messaggio e gli eventuali allegati dal Suo
sistema senza farne copia o diffonderli. Le opinioni espresse sono
quelle dell'autore e non rappresentano necessariamente quelle della Società.
This message and any attachment are confidential.If you are not the
intended recipient, please telephone or email the sender and delete this
message and any attachment from your system. If you are not the intended
recipient you must not copy this message or attachment or disclose the
contents to any other person. Any opinions presented are solely those of
the author and do not necessarily represent those of the Company.
dott. Ivano Mario Luberti
Archimede Informatica società cooperativa a r. l.
Via Gereschi 36, 56127 Pisa
tel.: +39 050/580959 | fax: +39 050/8932061
web: https://urldefense.com/v3/__http://www.archicoop.it__;!!F9svGWnIaVPGSwU!rdsUSU9ko6FRMmck0qRuav4dny-ZOcPvC8uRAqiBE78o8RpLN_LVffS4dd0KC0hn8rkdoRN_8vsLmKPDA5C2PLX9mGMXEoX3Iw$<https://urldefense.com/v3/__http:/www.archicoop.it__;!!F9svGWnIaVPGSwU!rdsUSU9ko6FRMmck0qRuav4dny-ZOcPvC8uRAqiBE78o8RpLN_LVffS4dd0KC0hn8rkdoRN_8vsLmKPDA5C2PLX9mGMXEoX3Iw$>
linkedin: https://urldefense.com/v3/__http://www.linkedin.com/in/ivanoluberti__;!!F9svGWnIaVPGSwU!rdsUSU9ko6FRMmck0qRuav4dny-ZOcPvC8uRAqiBE78o8RpLN_LVffS4dd0KC0hn8rkdoRN_8vsLmKPDA5C2PLX9mGOb4QmdUA$<https://urldefense.com/v3/__http:/www.linkedin.com/in/ivanoluberti__;!!F9svGWnIaVPGSwU!rdsUSU9ko6FRMmck0qRuav4dny-ZOcPvC8uRAqiBE78o8RpLN_LVffS4dd0KC0hn8rkdoRN_8vsLmKPDA5C2PLX9mGOb4QmdUA$>
facebook: https://urldefense.com/v3/__http://www.facebook.com/archimedeinformaticapisa/__;!!F9svGWnIaVPGSwU!rdsUSU9ko6FRMmck0qRuav4dny-ZOcPvC8uRAqiBE78o8RpLN_LVffS4dd0KC0hn8rkdoRN_8vsLmKPDA5C2PLX9mGM5qvNqZQ$<https://urldefense.com/v3/__http:/www.facebook.com/archimedeinformaticapisa/__;!!F9svGWnIaVPGSwU!rdsUSU9ko6FRMmck0qRuav4dny-ZOcPvC8uRAqiBE78o8RpLN_LVffS4dd0KC0hn8rkdoRN_8vsLmKPDA5C2PLX9mGM5qvNqZQ$>
Re: java code cache size question
Posted by Ivano Luberti <lu...@archicoop.it.INVALID>.
Thank you all.
Try to answer to everyone in one mail.
I forgot to check the java version in the oracle page I had found and
since other blog pages were always referring to 48 MB I was left
thinking there were no differences among version.
(I'm tired, going on holiday tomorrow :-) )
The default being 240MB would make perfect sense but here Table 15-1
states 48MB for Java8
https://docs.oracle.com/javase/8/embedded/develop-apps-platforms/codecache.htm
Other people say that default should be 240 in JAVA8 but this is what I
have found
I know there is no tomcat.service provided by tomcat: I was just
explaining the way we launch tomcat and where we specify java options,
like memory size......and there no options for the code cache is specified.
Il 25-Jul-24 15:56, Gregg, John E. ha scritto:
> Ivano
>
> 48MB was the default in the olden days. It is 240MB now. I believe the change came in Java 8 to accommodate the fact that the HotSpot compiler now compiles all methods when they are hit for the first time.
>
> Thanks
>
>
> From: Ivano Luberti<lu...@archicoop.it.INVALID>
> Sent: Thursday, July 25, 2024 8:43 AM
> To:users@tomcat.apache.org
> Subject: java code cache size question
>
> Hi, I have a tomcat 9 instance that runs without specifying options for the code cache. Looking at the servet status I see Code Cache Non-heap memory 2. 43 MiB 163. 93 MiB 240. 00 MiB 147. 30 MiB (61%) So te maximum size is 240MB Looking at Java
>
>
> Hi, I have a tomcat 9 instance that runs without specifying options for
>
> the code cache.
>
>
>
> Looking at the servet status I see
>
>
>
> Code Cache Non-heap memory 2.43 MiB 163.93 MiB 240.00 MiB 147.30
>
> MiB (61%)
>
>
>
> So te maximum size is 240MB
>
>
>
> Looking at Java documentation it states it should be 48MB if not altered
>
> by options.
>
>
>
> Is there someone able to suggest if tomcat can override autonomously the
>
> default?
>
>
>
> We start tomcat usinf tomcat.service file
>
>
>
> Thanks in advance.
>
>
>
>
>
> --
>
>
>
> Archimede Informatica tratta i dati personali in conformità a quanto
>
> stabilito dal Regolamento UE n. 2016/679 (GDPR) e dal D. Lgs. 30 giugno
>
> 2003 n. 196
>
> per come modificato dal D.Lgs. 10 agosto 2018 n. 101.
>
> Informativa completa
>
> <https://urldefense.com/v3/__http://www.archicoop.it/fileadmin/pdf/InformativaTrattamentoDatiPersonali.pdf__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw2Vh7VXOA$<https://urldefense.com/v3/__http:/www.archicoop.it/fileadmin/pdf/InformativaTrattamentoDatiPersonali.pdf__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw2Vh7VXOA$>>
>
>
>
> Il contenuto di questo messaggio e dei suoi eventuali allegati è
>
> riservato. Nel caso in cui Lei non sia il destinatario, La preghiamo di
>
> contattare telefonicamente o via e-mail il mittente ai recapiti sopra
>
> indicati e di cancellare il messaggio e gli eventuali allegati dal Suo
>
> sistema senza farne copia o diffonderli. Le opinioni espresse sono
>
> quelle dell'autore e non rappresentano necessariamente quelle della Società.
>
> This message and any attachment are confidential.If you are not the
>
> intended recipient, please telephone or email the sender and delete this
>
> message and any attachment from your system. If you are not the intended
>
> recipient you must not copy this message or attachment or disclose the
>
> contents to any other person. Any opinions presented are solely those of
>
> the author and do not necessarily represent those of the Company.
>
>
>
> dott. Ivano Mario Luberti
>
>
>
> Archimede Informatica società cooperativa a r. l.
>
> Via Gereschi 36, 56127 Pisa
>
>
>
> tel.: +39 050/580959 | fax: +39 050/8932061
>
>
>
> web:https://urldefense.com/v3/__http://www.archicoop.it__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw0MF78dPA$<https://urldefense.com/v3/__http:/www.archicoop.it__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw0MF78dPA$>
>
> linkedin:https://urldefense.com/v3/__http://www.linkedin.com/in/ivanoluberti__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw1gFelivQ$<https://urldefense.com/v3/__http:/www.linkedin.com/in/ivanoluberti__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw1gFelivQ$>
>
> facebook:https://urldefense.com/v3/__http://www.facebook.com/archimedeinformaticapisa/__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw0eJD3Tnw$<https://urldefense.com/v3/__http:/www.facebook.com/archimedeinformaticapisa/__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw0eJD3Tnw$>
>
>
>
--
Archimede Informatica tratta i dati personali in conformità a quanto
stabilito dal Regolamento UE n. 2016/679 (GDPR) e dal D. Lgs. 30 giugno
2003 n. 196
per come modificato dal D.Lgs. 10 agosto 2018 n. 101.
Informativa completa
<http://www.archicoop.it/fileadmin/pdf/InformativaTrattamentoDatiPersonali.pdf>
Il contenuto di questo messaggio e dei suoi eventuali allegati è
riservato. Nel caso in cui Lei non sia il destinatario, La preghiamo di
contattare telefonicamente o via e-mail il mittente ai recapiti sopra
indicati e di cancellare il messaggio e gli eventuali allegati dal Suo
sistema senza farne copia o diffonderli. Le opinioni espresse sono
quelle dell'autore e non rappresentano necessariamente quelle della Società.
This message and any attachment are confidential.If you are not the
intended recipient, please telephone or email the sender and delete this
message and any attachment from your system. If you are not the intended
recipient you must not copy this message or attachment or disclose the
contents to any other person. Any opinions presented are solely those of
the author and do not necessarily represent those of the Company.
dott. Ivano Mario Luberti
Archimede Informatica società cooperativa a r. l.
Via Gereschi 36, 56127 Pisa
tel.: +39 050/580959 | fax: +39 050/8932061
web: www.archicoop.it
linkedin: www.linkedin.com/in/ivanoluberti
facebook: www.facebook.com/archimedeinformaticapisa/
RE: java code cache size question
Posted by "Gregg, John E." <Jo...@wellsfargo.com.INVALID>.
Ivano
48MB was the default in the olden days. It is 240MB now. I believe the change came in Java 8 to accommodate the fact that the HotSpot compiler now compiles all methods when they are hit for the first time.
Thanks
From: Ivano Luberti <lu...@archicoop.it.INVALID>
Sent: Thursday, July 25, 2024 8:43 AM
To: users@tomcat.apache.org
Subject: java code cache size question
Hi, I have a tomcat 9 instance that runs without specifying options for the code cache. Looking at the servet status I see Code Cache Non-heap memory 2. 43 MiB 163. 93 MiB 240. 00 MiB 147. 30 MiB (61%) So te maximum size is 240MB Looking at Java
Hi, I have a tomcat 9 instance that runs without specifying options for
the code cache.
Looking at the servet status I see
Code Cache Non-heap memory 2.43 MiB 163.93 MiB 240.00 MiB 147.30
MiB (61%)
So te maximum size is 240MB
Looking at Java documentation it states it should be 48MB if not altered
by options.
Is there someone able to suggest if tomcat can override autonomously the
default?
We start tomcat usinf tomcat.service file
Thanks in advance.
--
Archimede Informatica tratta i dati personali in conformità a quanto
stabilito dal Regolamento UE n. 2016/679 (GDPR) e dal D. Lgs. 30 giugno
2003 n. 196
per come modificato dal D.Lgs. 10 agosto 2018 n. 101.
Informativa completa
<https://urldefense.com/v3/__http://www.archicoop.it/fileadmin/pdf/InformativaTrattamentoDatiPersonali.pdf__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw2Vh7VXOA$<https://urldefense.com/v3/__http:/www.archicoop.it/fileadmin/pdf/InformativaTrattamentoDatiPersonali.pdf__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw2Vh7VXOA$>>
Il contenuto di questo messaggio e dei suoi eventuali allegati è
riservato. Nel caso in cui Lei non sia il destinatario, La preghiamo di
contattare telefonicamente o via e-mail il mittente ai recapiti sopra
indicati e di cancellare il messaggio e gli eventuali allegati dal Suo
sistema senza farne copia o diffonderli. Le opinioni espresse sono
quelle dell'autore e non rappresentano necessariamente quelle della Società.
This message and any attachment are confidential.If you are not the
intended recipient, please telephone or email the sender and delete this
message and any attachment from your system. If you are not the intended
recipient you must not copy this message or attachment or disclose the
contents to any other person. Any opinions presented are solely those of
the author and do not necessarily represent those of the Company.
dott. Ivano Mario Luberti
Archimede Informatica società cooperativa a r. l.
Via Gereschi 36, 56127 Pisa
tel.: +39 050/580959 | fax: +39 050/8932061
web: https://urldefense.com/v3/__http://www.archicoop.it__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw0MF78dPA$<https://urldefense.com/v3/__http:/www.archicoop.it__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw0MF78dPA$>
linkedin: https://urldefense.com/v3/__http://www.linkedin.com/in/ivanoluberti__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw1gFelivQ$<https://urldefense.com/v3/__http:/www.linkedin.com/in/ivanoluberti__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw1gFelivQ$>
facebook: https://urldefense.com/v3/__http://www.facebook.com/archimedeinformaticapisa/__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw0eJD3Tnw$<https://urldefense.com/v3/__http:/www.facebook.com/archimedeinformaticapisa/__;!!F9svGWnIaVPGSwU!pQ2s33hmFIHLlMyJvPGfzKU57_CwW5e05nIrx4PpW6Wn0t4riJCR-Ptgal2gV6M0E09ae3bE8qpG9QbDl6tLGE21Rw0eJD3Tnw$>
Re: java code cache size question
Posted by Christopher Schultz <ch...@christopherschultz.net>.
Ivano,
On 7/25/24 09:43, Ivano Luberti wrote:
> Hi, I have a tomcat 9 instance that runs without specifying options for
> the code cache.
Good. If you don't know what you are doing, leaving options at their
defaults is the best policy.
> Looking at the servet status I see
>
> Code Cache Non-heap memory 2.43 MiB 163.93 MiB 240.00
> MiB 147.30 MiB (61%)
This is difficult to read. Can you re-format it to make it more readable?
> So the maximum size is 240MB
>
> Looking at Java documentation it states it should be 48MB if not altered
> by options.
What documentation? What version of Java? What operating system? How
much total main memory? Are you *sure* there are no options being
specified on the command-line? Try looking at the effective command-line
provided by the operating system and not just at the script that you run
yourself.
> Is there someone able to suggest if tomcat can override autonomously the
> default?
This is far to low of a detail for Tomcat to care about.
> We start tomcat usinf tomcat.service file
There are no systemd service files provided by the Tomcat project. You
may have to consult your package vendor for more details.
-chris
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org