This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Sat, 14 Jan 2006, David Daney wrote:
The larger the divisor, the more time spent in GC, but the less likely you are to end up in the pathological situation where there is plenty of free memory, but it is all in pools for objects of a size other than you are trying to allocate.
I think the default value is probably appropiate for cases where there is no upper bound on memory size. For bounded memory size, we have found that a larger divisor is needed.
David Daney
If the issue here is really fragentation, it would be nice to understand it better.
A call to GC_dump() or setting the GC_DUMP_REGULARLY environment variable should tell you what's in the heap.
Really fragmentation per se can only occur if either:
1) The application drastically changes the object size mix it needs for different phases, and some other things go wrong. And even then, things shouldn't get too bad. Or
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |