This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: about the memory of the native application built in SWT
- From: Tom Tromey <tromey at redhat dot com>
- To: bbskill <bbkills at tom dot com>
- Cc: java at gcc dot gnu dot org
- Date: 22 Aug 2005 10:27:12 -0600
- Subject: Re: about the memory of the native application built in SWT
- References: <430856BB.8070805@tom.com>
- Reply-to: tromey at redhat dot com
>>>>> ">" == bbskill <bbkills@tom.com> writes:
>> I find the memory it used is larger than orginal java application using
>> top command in
>> linux ,about 512*7% - 512*10% (35M -- 50M).
>> why does it takes such large memory , even thought it's shared linked ?
>> could anyone used gcj give me some advice to reduce the memory used?
It is hard to say offhand. One thing we ran into recently is that the
default stack size on linux is pretty big; reducing it brought
libgcj's memory use more in line with the JDK. Andrew and Bryce have
been kicking around a patch to fix this. I couldn't say whether that
is what you're seeing.
Tom