🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.linux
Article #274

Re: JB2005 memory issues?

#274
From: Shankar Unni
Date: Tue, 05 Oct 2004 17:59
19 lines
1908 bytes
none wrote:
> I'm running the demo on suse 9.1 pro.
> Just have one project open and its at 662 megs ram utilization for the
> jbuilder executeable and 234 megs for the jbuilder java binary.

Process accounting on Linux takes a bit of getting used to.

When you start Java with, say, -Xmx512m (as I suspect the enterprise 
version does), Java memory-maps 512MB worth of VM (which is what you see 
in the ps display as the "process size"), though it actually touches 
only a small part of that to start with.

Also, any files that are memory-mapped using java.nio.MappedByteBuffer 
show up as VM usage.

How are you measuring the usage? "top" is the usual tool. In top, the 
"Size" is the VM mapping size, but that's a misleading indicator. "RSS" 
is the true indicator of memory usage, the "Resident Set Size".  See 
what that value is..
Technical Details
Message-ID: <4162e124$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!peernews-us.colt.net!colt.net!peernews3.colt.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <pan.2004.10.05.14.57.53.188000@none.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 107590,3e6db7d80816b65a
X-Google-Attributes: gid107590,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Tue, 05 Oct 2004 10:59:32 -0700
From: Shankar Unni <shankarunni@netscape.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Thunderbird/0.8 Mnenhy/0.6.0.101
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.linux
Subject: Re: JB2005 memory issues?
References: <pan.2004.10.05.14.57.53.188000@none.com>
In-Reply-To: <pan.2004.10.05.14.57.53.188000@none.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 68.120.146.125
Message-ID: <4162e124$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1096999204 68.120.146.125 (5 Oct 2004 11:00:04 -0700)
Lines: 19
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!peernews-us.colt.net!colt.net!peernews3.colt.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail