Il 14/11/2012 17:17, Holger Hans Peter Freyther ha scritto:
> On Mon, Oct 29, 2012 at 08:56:08AM +0100, Paolo Bonzini wrote:
>> ObjectMemory>>#growThresholdPercent:
>> ObjectMemory>>#bigObjectThreshold:
>> ObjectMemory>>#spaceGrowRate:
> 
> I need to try that.. is there another way to shrink that after an image
> is running? For one of my images (running for a while)
> 
>                 size    used            ratio
> edenSize      3145728 57240           0.01819610595703
> survSpaceSize 131072  114588          0.87423706054688
> oldSpaceSize  5452595 774144          0.14197716866923
> fixedSpaceSize        5452595 0               0
> 
> so my vspace could be a lot smaller (right now it is 337m), resident
> space is looking reasonable though.

vspace includes the total amount allocated to the ObjectMemory.  Most of
it is mapped MAP_NORESERVE, and doesn't really matter.

Looks like only 4.5 MB of memory is wasted (edenSize is very volatile,
do not count it).

Paolo

> 
>>
>> Can you do some plots of the ObjectMemory statistics after each of the
>> 10000 iterations?
> 
> I will plot it.
> 


_______________________________________________
help-smalltalk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to