Re: Tomcat/Java starts using too much memory and not by the heap or non-heap memory

2024-02-16 Thread Christopher Schultz
Chuck and Brian, On 2/15/24 10:53, Chuck Caldarale wrote: On Feb 15, 2024, at 09:04, Brian Braun wrote: I discovered the JCMD command to perform the native memory tracking. When running it, after 3-4 days since I started Tomcat, I found out that the compiler was using hundreds of MB and

Re: Tomcat/Java starts using too much memory and not by the heap or non-heap memory

2024-02-15 Thread Chuck Caldarale
> On Feb 15, 2024, at 09:04, Brian Braun wrote: > > I discovered the JCMD command to perform the native memory tracking. When > running it, after 3-4 days since I started Tomcat, I found out that the > compiler was using hundreds of MB and that is exactly why the Tomcat > process starts abusing

Re: Tomcat/Java starts using too much memory and not by the heap or non-heap memory

2024-02-15 Thread Brian Braun
Hello, It has been a long time since I received the last suggestions to my issue here on this support list. Since then I decided to stop asking for help and to "do my homework". To read, to watch YouTube presentations, to spend time on StackOverflow, etc. So I have spent a lot of time on this and

Re: Tomcat/Java starts using too much memory and not by the heap or non-heap memory

2024-02-15 Thread Brian Braun
Hello, It has been a long time since I received the last suggestions to my issue here on this support list. Since then I decided to stop asking for help and to "do my homework". To read, to watch YouTube presentations, to spend time on StackOverflow, etc. So I have spent a lot of time on this and

Re: Tomcat/Java starts using too much memory and not by the heap or non-heap memory

2024-01-08 Thread Christopher Schultz
Brian, On 1/5/24 17:21, Brian Braun wrote: Hello Chirstopher, First of all: thanks a lot for your responses! On Wed, Jan 3, 2024 at 9:25 AM Christopher Schultz < ch...@christopherschultz.net> wrote: Brian, On 12/30/23 15:42, Brian Braun wrote: At the beginning, this was the problem: The

Re: Tomcat/Java starts using too much memory and not by the heap or non-heap memory

2024-01-06 Thread Stefan Mayr
Hi, Am 05.01.2024 um 23:21 schrieb Brian Braun: Tracking native memory usage can be tricky depending upon your environment. I would only look into that if there were somethng very odd going on, like your process memory space seems to be more than 50% taken by non-java-heap memory. Well,

Re: Tomcat/Java starts using too much memory and not by the heap or non-heap memory

2024-01-05 Thread Chuck Caldarale
> On Jan 5, 2024, at 16:21, Brian Braun wrote: >> >> Tracking native memory usage can be tricky depending upon your >> environment. I would only look into that if there were somethng very odd >> going on, like your process memory space seems to be more than 50% taken >> by non-java-heap memory.

Re: Tomcat/Java starts using too much memory and not by the heap or non-heap memory

2024-01-05 Thread Brian Braun
Hello Chirstopher, First of all: thanks a lot for your responses! On Wed, Jan 3, 2024 at 9:25 AM Christopher Schultz < ch...@christopherschultz.net> wrote: > Brian, > > On 12/30/23 15:42, Brian Braun wrote: > > At the beginning, this was the problem: The OOM-killer (something that I > > never

Re: Tomcat/Java starts using too much memory and not by the heap or non-heap memory

2024-01-03 Thread Christopher Schultz
Brian, On 12/30/23 15:42, Brian Braun wrote: At the beginning, this was the problem: The OOM-killer (something that I never knew existed) killing Tomcat unexpectedly and without any explanation The explanation is always the same: some application requests memory from the kernel, which always

Re: Tomcat/Java starts using too much memory and not by the heap or non-heap memory

2023-12-30 Thread Stefan Mayr
Hi Brian, Am 30.12.2023 um 21:42 schrieb Brian Braun: I don't have any Java OOME exceptions, so it is not that my objects don't fit. Even if I supply 300MB to the -Xmx parameter. In fact, as I wrote, I don't think the Heap and non-heap usage is the problem. I have been inspecting those and

Re: Tomcat/Java starts using too much memory and not by the heap or non-heap memory

2023-12-30 Thread Brian Braun
Hi Chris, Thanks a lot for your very detailed response! Here are my answers, comments and questions. At the beginning, this was the problem: The OOM-killer (something that I never knew existed) killing Tomcat unexpectedly and without any explanation, many times during the night while I should be

Re: Tomcat/Java starts using too much memory and not by the heap or non-heap memory

2023-12-30 Thread Christopher Schultz
Brian, On 12/29/23 20:48, Brian Braun wrote: Hello, First of all: Christopher Schultz: You answered an email from me 6 weeks ago. You helped me a lot with your suggestions. I have done a lot of research and have learnt a lot since then, so I have been able to rule out a lot of potential roots

Re: Tomcat/Java starts using too much memory and not by the heap or non-heap memory

2023-12-29 Thread Brian Braun
Hello Chuck, On Fri, Dec 29, 2023 at 11:00 PM Chuck Caldarale wrote: > > > On Dec 29, 2023, at 19:48, Brian Braun wrote: > > > > First of all: > > Christopher Schultz: You answered an email from me 6 weeks ago. You > helped > > me a lot with your suggestions. I have done a lot of research and

Re: Tomcat/Java starts using too much memory and not by the heap or non-heap memory

2023-12-29 Thread Chuck Caldarale
> On Dec 29, 2023, at 19:48, Brian Braun wrote: > > First of all: > Christopher Schultz: You answered an email from me 6 weeks ago. You helped > me a lot with your suggestions. I have done a lot of research and have > learnt a lot since then, so I have been able to rule out a lot of potential >

Tomcat/Java starts using too much memory and not by the heap or non-heap memory

2023-12-29 Thread Brian Braun
Hello, First of all: Christopher Schultz: You answered an email from me 6 weeks ago. You helped me a lot with your suggestions. I have done a lot of research and have learnt a lot since then, so I have been able to rule out a lot of potential roots for my issue. Because of that I am able to post