JVM memory problem on Linux

bouchia.nazha_at_free.fr
Date: 02/18/04


Date: 18 Feb 2004 00:59:26 -0800

Hello

I have encountered a problem using tomcat, linux and ssl.
My problem seem to be a JVM memory deallocation problem on Linux.

This is my configuration:
OS: Redhat7.2
Tomcat: 4.0
Jdk: 1.3.1_07

I have a servlet that does a post https connexion with a certificat
client and server.
When I execute 200 (or more) this servlet, we can see that the memory
increase.
After 200 calls consecutive, the memory has increased of 20M and
doesn't decrease.

After 1000 calls, the server doesn't have enough memory and tomcat
crash.

I have upgrated the jdk toV1.4.1 and tomcat to V5.0, and have the same
problem.
I have add tomcat option like "-Xmx" without succes.

When I do this test with Windows2000, the memory increase but decrease
after.
It seem to be link with linux.

I have post a message on Tomcat-Forum, i have this response:"It could
be a JVM bug on Linux or
another configuration problem. Since the problem occurs under platform
A while
not on platform B, it would be hard to blame tomcat for a memory
leak."

Have you any idea ? It's a configuration problem ?
Do you know how to configure Linux Kernel ??

Any help will be welcome.
Thanks.



Relevant Pages

  • Re: JVM memory problem on Linux
    ... > I have encountered a problem using tomcat, ... > My problem seem to be a JVM memory deallocation problem on Linux. ...
    (comp.lang.java)
  • Re: linux server slow.
    ... > The configuration of the 2 LPAR's is done such that the CPU and memory ... > Even though the LPAR's are allocated 3.5GB RAM each, the Linux top or free ... > Have anybody else faced a similar circumstance, where the available memory ...
    (RedHat)
  • Memory Utilization
    ... I have installed the JDK 1.5 and Tomcat on Linux, ... I start the Tomcat the memory utilization of tomcat is ... rss,pmem,pcpu,comm,user | grep java ...
    (RedHat)
  • Linux ELF loader vulnerabilities
    ... Numerous bugs have been found in the Linux ELF binary loader while ... Internally the Linux kernel uses a binary format loader layer to ... and the position of the memory map header in the binary image and ... An user may try to execute such a malicious binary with an unterminated ...
    (Bugtraq)
  • [Full-Disclosure] Linux ELF loader vulnerabilities
    ... Numerous bugs have been found in the Linux ELF binary loader while ... Internally the Linux kernel uses a binary format loader layer to ... and the position of the memory map header in the binary image and ... An user may try to execute such a malicious binary with an unterminated ...
    (Full-Disclosure)