This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
about the memory of the native application built in SWT
- From: bbskill <bbkills at tom dot com>
- To: java at gcc dot gnu dot org
- Date: Sun, 21 Aug 2005 18:26:03 +0800
- Subject: about the memory of the native application built in SWT
hello all,
I have compiled swt.jar and other third part jar library into shared
object(.so).
eg: gcj -shared thirdpart.jar -o thirdpart.so
an I link my application with these shared object,but when I run my
application.
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?
Thank you very much !