[Java-gnome-developer] Memory Usage for small app
Brought to you by:
afcowie
From: Neil J. P. <njp...@gm...> - 2005-05-28 13:02:22
|
Hi, I was inspired by an OSNews article yester which pointed out developing gnome apps with java. I follwed the examples and all worked fine (with a little tweaking), the question i have is that a very simple application compiled with gcj takes up quite a lot of memory: Total : 55.1 MB RSS : 22.1 MB Shared : 16.3 MB I just wanted to now if this is normal, and/if there are any option when compiling that can help. Using FC4T3 java packages, the gcj commands were: gcj --classpath=/usr/share/java/gtk2.6.jar:/usr/share/java/gnome2.10.jar \:/usr/share/java/glade2.10.jar -l gtkjava -l gnomejava -l gladejava -o ExampleGNOME --main=ExampleGNOME ExampleGNOME.java gcj = 4.0.0-8 gtk-java = 2.6.2-3 gnome-java = 2.10.1-3 glade-java = 2.10.1-5 attached the source of the small program. Thanks, -- Neil J. Patel <njp...@gm...> |