Hi,

 

Damn that's missing in Gecode. A space takes into account what external memory 
is allocated by propagators and branchings but not by variables.

 

It will also not be that straightforward (I would have to think a little) as a 
space does not maintain a list of all variables (in contrast to propagators and 
branchings).

 

Is it very important? If yes, we could try to come up with something and add it 
for 3.0. What do you do right now? Do you use the same memory management 
support for variables that is also used by the complete set variables?

 

Cheers

Christian

 

--

Christian Schulte, www.ict.kth.se/~cschulte/

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gustavo Gutierrez
Sent: Tuesday, October 28, 2008 5:46 PM
To: [EMAIL PROTECTED]
Subject: [gecode-users] Reporting memory usage

 

Hello,

I am working on an implementation of graph variables. In our design, each 
constraint variable use some data structures allocated outside the gecode heap. 
Is it possible to report the complete memory used by those variables as part as 
the search engine statistics?. I can add an extra method to the variable 
implementation that returns the memory allocated by all its data structures but 
how can i make the space "aware" of such method?

Thanks in advance. 
-- 
Gustavo Gutierrez

_______________________________________________
Gecode users mailing list
[EMAIL PROTECTED]
https://www.gecode.org/mailman/listinfo/gecode-users

Reply via email to