about the memory of the native application built in SWT

bbskill bbkills@tom.com
Sun Aug 21 10:25:00 GMT 2005


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 !


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /