[Qt-jambi-interest] Jambi and JVM Memory

Danny Sporea dannysporea at yahoo.com
Wed Feb 27 20:06:39 CET 2008


Hi,

I would like to know more about how Jambi allocates
memory, how the Garbage Collector is working with
Jambi and how can I decrease the memory footprint of a
Jambi application. 

When my application initializes, all the UI dialogs
are constructed in the beginning, and the final
footprint is around 90 MB. During runtime, the javaw
memory allocation seems to grow up to 250 MB and it
stays there, so there are no memory leaks. 

How can I set the maximum size to a lower value ? I
mention that if I run the JVM with -Xms128m -Xmx128m
the settings are ignored, it still grows to 250 MB. I
even tryed -Xms32m -Xmx64m and it still doesn't care
at all about those settings. 

Are the Jambi objects not created in the heap ? Is
there a way to set the upper memory limit when I want
the Garbage Collector to kick in ?

Thanks,
Danny


      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping


More information about the Qt-jambi-interest mailing list