about the memory of the native application built in SWT
Tom Tromey
tromey@redhat.com
Mon Aug 22 16:31:00 GMT 2005
>>>>> ">" == 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
More information about the Java
mailing list