Opened 14 years ago

Closed 14 years ago

#66 closed defect (fixed)

memory-leak in make-nodes

Reported by: lgiessmann Owned by: lgiessmann
Priority: critical Milestone: miscellaneous 2010
Component: json-interface Version: 0.1
Keywords: Cc:

Description


Change History (4)

comment:1 Changed 14 years ago by lgiessmann

Status: newaccepted

comment:2 Changed 14 years ago by lgiessmann

(xml-importer::setup-repository "unit_tests/poems.xtm" "data_base" :tm-id "http://isidorus/tmra2009" :xtm-id "tmra2009")
(elephant:open-store '(:BDB "data_base"))

(dotimes (i 1000000)

(d:identified-construct (elephant:get-instance-by-value 'd:TopicIdentificationC 'd::uri "goethe")))

--> memory that is not released after operation 0.2 MB

(dotimes (i 1000000)

(d:get-item-by-id "goethe"))

--> memory that is not released after operation 28.5 MB

comment:3 Changed 14 years ago by lgiessmann

(dotimes (i 1000000)

(elephant:get-instances-by-value 'd::TopicIdentificationC 'd::uri "goethe"))

--> memory that is not released after operation 29.0 MB

(dotimes (i 1000000)

(elephant:get-instance-by-value 'd::TopicIdentificationC 'd::uri "goethe"))

--> memory that is not released after operation 0.1 MB

(dotimes (i 1000000)

(elephant:get-instances-by-class 'd::TopicIdentificationC))

--> memory that is not released after operation 58.9 MB

comment:4 Changed 14 years ago by lgiessmann

Resolution: fixed
Status: acceptedclosed

solved by updatinge elephant to the latest repo and compiling it directly in sbcl and not in slime -> so the first call of (asdf:operate 'asdf:load-op :elephant) did not fail

Note: See TracTickets for help on using tickets.