RE: Some thoughts on memory consumption and gc

2003-06-03 Thread Shapira, Yoav
Howdy, *) If you have 128 MB heap and 64 MB stack memory assigned, against which will the memory consumption count? Mostly the heap. The stack space is used for method overhead and other miscellaneous information. *) According to my experiements Runtime.availableMemory will give me the heap

Some thoughts on memory consumption and gc

2003-06-02 Thread Johannes Fiala
Hi there, I've made some tests with the gc and the -Xms and -Xmx settings. Suppose I have a list generated from a database with a size of 10.000 records with an average of 200 bytes each. This gives 2 MB data volume. *) If you have 128 MB heap and 64 MB stack memory assigned, against which