Re: Gradual Growth of Memory Use?

"David McClain (as dbm at refined-audiometrics dot com)" <[email protected]>
Newsgroups gmane.lisp.lispworks.general
Message-ID <[email protected]>
The system is under no overt memory pressure. Total running image on the machine is around 6 GB out of 32 GB total RAM. No overt GC calls anywhere, unless something down in LWW does that beneath the table.

Explorer.exe is reasonably well behaved at the moment with an allocation of 200 MB. Later, it will grow to several GB for unknown reasons. It never gives back and must be restarted from cold to reclaim memory.

The dump did not include Gen0.

I see the dump indicating that I have 342,000 Actors allocated. These are 1-slot structs with a pointer to a functional closure. I didn’t define that many Actors, but copies can be CREATEd at any time by an Actor behavior, many are anonymous continuation Actors. But clearly, the GC has not discarded most of them. At any one time, I would expect the extant live Actors to be no more than a few hundred. Most will be used once and discarded by non-reference, awaiting GC.

Since I don’t call GC, and I don’t know what it considers a higher generation collection pressure, the GC might well have not done much except to graduate objects from Gen0.

So I don’t know how to view the dump in a meaningful way, except, perhaps, to come back in a few hours and see how it has grown.

- DM

> On Mar 19, 2025, at 05:29, David McClain <[email protected]> wrote:
> 
> That was a dump of the system, having run about 4 hours, now up to 300 MB, which started from about 120 MB.
> 
>> On Mar 19, 2025, at 05:22, David McClain <[email protected]> wrote:
>> 
>> Thanks Tim, what does this tell you?
>> 
>> 
>> (#S(CLASS-COUNTER :NAME CONS
>>                   :COUNT 7434476
>>                   :TOTAL-SIZE 118951616
>>                   :CUMULATIVE-SIZE 288117792)
>>  #S(CLASS-COUNTER :NAME FUNCTION
>>                   :COUNT 1160246
>>                   :TOTAL-SIZE 61906744
>>                   :CUMULATIVE-SIZE 169166176)
>>  #S(CLASS-COUNTER :NAME SIMPLE-VECTOR
>>                   :COUNT 1768914
>>                   :TOTAL-SIZE 58177208
>>                   :CUMULATIVE-SIZE 107259432)
>>  #S(CLASS-COUNTER :NAME VECTOR
>>                   :COUNT 3161
>>                   :TOTAL-SIZE 13120960
>>                   :CUMULATIVE-SIZE 49082224)
>>  #S(CLASS-COUNTER :NAME COM.RAL.ACTORS:ACTOR
>>                   :COUNT 342304
>>                   :TOTAL-SIZE 8215296
>>                   :CUMULATIVE-SIZE 35961264)
>>  #S(CLASS-COUNTER :NAME CLOS::SYSTEM-OBJECT
>>                   :COUNT 128033
>>                   :TOTAL-SIZE 7296456
>>                   :CUMULATIVE-SIZE 27745968)


_______________________________________________
Lisp Hug - the mailing list for LispWorks users
[email protected]
http://www.lispworks.com/support/lisp-hug.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.