On Tue, May 25, 2021 at 9:02 AM Michele Thiella <[email protected]>
wrote:

>
> 1 test)
> ((ConceptNode . 8) (NumberNode . 2) (PredicateNode . 9) (SetLink . 5)
> (ListLink . 30) (MemberLink . 7) (ContextLink . 5) (AndLink . 67) (NotLink
> . 14) (PresentLink . 7) (VariableNode . 11) (VariableList . 6) (DefineLink
> . 7) (BindLink . 7) (EvaluationLink . 44) (TypeNode . 6) (TypeChoice . 2)
> (TypedVariableLink . 11) (EqualLink . 14) (ExecutionOutputLink . 7)
> (SchemaNode . 2) (DefinedSchemaNode . 7) (GroundedSchemaNode . 6)
> (InheritanceLink . 7) (ExecutionLink . 2))
>

This is a tiny atomspace. Fits in less than a megabyte.

>
>
> - (gc-stats) in the 2 test when I ran out of RAM:
> ((gc-time-taken . 334108055) (heap-size . 6316032) (heap-free-size .
> 1228800) (heap-total-allocated . 54519584) (heap-allocated-since-gc .
> 1691024) (protected-objects . 16) (gc-times . 22))
>
> I'm trying to understand their meaning. Do these numbers tell you
> something?
>

Time is in nanoseconds. (gc-time-taken . 334108055) means you spent 1/3rd
of a second in GC.  Size is in bytes: (heap-size . 6316032) means that
guile has allocated 6 megabytes of RAM.  The total shown here
(heap-total-allocated . 54519584) means 54 MBytes allocated, and I guess
48MBytes freed, leaving the rest in the current heap.  GC was called a
total of 22 times.

In short, you are not leaking memory here. The grief is something deep in
the guts of the chainer/URE.

--linas

-- 
Patrick: Are they laughing at us?
Sponge Bob: No, Patrick, they are laughing next to us.

-- 
You received this message because you are subscribed to the Google Groups 
"opencog" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/opencog/CAHrUA37DwyFC6MAjHg6aBbmsjbA1e8dn75gQ%3Dwqcgnn4EVL9%3Dw%40mail.gmail.com.

Reply via email to