<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=text/html;charset=iso-8859-1 http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.7600.16490"></HEAD>
<BODY style="PADDING-LEFT: 10px; PADDING-RIGHT: 10px; PADDING-TOP: 15px"
id=MailContainerBody leftMargin=0 topMargin=0 CanvasTabStop="true"
name="Compose message area">
<DIV><FONT face=Calibri>Hi list,</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>in our application which uses elephant 1.0 with sbcl
1.0.29.11.debian on ubuntu we have a memory leak.</FONT></DIV>
<DIV><FONT face=Calibri>After a lot of debugging I am sure to have found the
responsible function. It seems that elephant:get-instances-by-value does not
release the needed memory after the operation is done.</FONT></DIV>
<DIV><FONT face=Calibri>I also have some debug-examples with this and other
elephant functions and the needed memory:</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>---------------------</FONT></DIV>
<DIV><FONT face=Calibri>(dotimes (i 1000000)<BR>
(elephant:get-instances-by-value 'd::TopicIdentificationC 'd::uri
"goethe"))<BR>;--> memory that is not released after operation 29.0
MB</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV><FONT face=Calibri>
<DIV><BR>(dotimes (i 1000000)<BR>
(elephant:get-instance-by-value 'd::TopicIdentificationC 'd::uri
"goethe"))<BR>;--> memory that is not released after operation 0.1 MB</DIV>
<DIV> </DIV>
<DIV><BR>(dotimes (i 1000000)<BR>
(elephant:get-instances-by-class 'd::TopicIdentificationC))<BR>;--> memory
that is not released after operation 58.9 MB</DIV>
<DIV>---------------------</DIV>
<DIV> </DIV>
<DIV>Is there any function or any method to relaese the memory after a call of
elephant:get-instances-by-value or elephant:get-instances-by-class. Maybe
there is any other work-around?</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Thanks in advance</DIV>
<DIV> </DIV>
<DIV>Lukas</FONT></DIV></BODY></HTML>