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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org