[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-smalltalk] Memory management, OOM, Exceptions
From: |
Paolo Bonzini |
Subject: |
Re: [Help-smalltalk] Memory management, OOM, Exceptions |
Date: |
Wed, 14 Nov 2012 17:19:13 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121016 Thunderbird/16.0.1 |
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.
>