Skip to contentSkip to conversation

2.6.0-test11 java application memory usage

DISCUSSION hemp4fuel 4 participants 4 messages Dec 9, 2003 – Dec 10, 2003

lore
Share & tools
lore

hemp4fuel

author
#0 lore raw

I am running 2.6.0-test11 with a duron 1.3ghz with 630mb ram using reiserfs and suns 1.4.2_01 jre, with 2.4.xx kernels the java based application I run used around 35-50mb memory, with the 2.6.0-test11 it goes right to 250mb and rises from there. When I revert back to 2.4.23 it is back to 35-50mb memory usage.

Dustin

#1 lore raw

Running 2.6.0-test11 and netbeans.org and tomcat under Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28) and havent seen anything remotely like this.

Quoted 3 lines · hemp4fuel wrote:

I am running 2.6.0-test11 with a duron 1.3ghz with 630mb ram using reiserfs and suns 1.4.2_01 jre, with 2.4.xx kernels the java based application I run used around 35-50mb memory, with the 2.6.0-test11 it goes right to 250mb and rises from there. When I revert back to 2.4.23 it is back to 35-50mb memory usage.

Dustin

#2 lore raw
In reply to hemp4fuel
Quoted 5 lines · On December 08, 2003 08:05 pm, hemp4fuel wrote:

I am running 2.6.0-test11 with a duron 1.3ghz with 630mb ram using reiserfs and suns 1.4.2_01 jre, with 2.4.xx kernels the java based application I run used around 35-50mb memory, with the 2.6.0-test11 it goes right to 250mb and rises from there. When I revert back to 2.4.23 it is back to 35-50mb memory usage.

Problems like this have been seen within the freenet project. Are you using an NTPL enabled libc? If so that is probably the problem. It would seem that sun java does not yet like NTPL.

Ed Tomlinson

#3 lore raw
Quoted 9 lines · Ed Tomlinson
Quoted 5 lines · On December 08, 2003 08:05 pm, hemp4fuel wrote:

I am running 2.6.0-test11 with a duron 1.3ghz with 630mb ram using reiserfs and suns 1.4.2_01 jre, with 2.4.xx kernels the java based application I run used around 35-50mb memory, with the 2.6.0-test11 it goes right to 250mb and rises from there. When I revert back to 2.4.23 it is back to 35-50mb memory usage.

Quoted 4 lines

Problems like this have been seen within the freenet project. Are you using an NTPL enabled libc? If so that is probably the problem. It would seem that sun java does not yet like NTPL.

There is a known memory leak when creating tens of thousands of threads on RHEL AS3 (NPTL-0.60). It's fixed in 1.4.2_04, which should get released early next year. Also I've been told by Ulrich that it's fixed on libc side too.

It's likely something else if you don't create that many of threads. Send me an email if you have a testcase.

regards,
-hui