This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: about the memory of the native application built in SWT


>>>>> ">" == 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]