Changes between Initial Version and Version 1 of Ticket #12616
- Timestamp:
- 03/02/12 10:01:07 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #12616
-
Property
Status
changed from
new
toneeds_review
-
Property
Status
changed from
-
Ticket #12616 – Description
initial v1 1 1 Helloooooooooo !!!! 2 2 3 Because of a cyclic reference (the LP pointed toward the LP variables, and the LP variables toward the LP), the LP objects were not immediately deallocated at the end of functions using them. That produced memory problems that have been reported there [1, 2] and there [3]. 3 Because of a cyclic reference (the LP pointed toward the LP variables, and the LP variables toward the LP), the LP objects were not immediately deallocated at the end of functions using them. That produced memory problems that have been reported there : 4 5 http://ask.sagemath.org/question/1170/memory-blowup-with-milp 6 http://ask.sagemath.org/question/1191/memory-blowup-2 7 http://groups.google.com/forum/#!topic/sage-devel/4jJbIC5TqVs/discussion 4 8 5 9 Thanks to the wonderful people one can find among Sage developpers who always have a perfect answer ready for you, here is a patch to fix it. It's actually quite straightforward (one of the two references was not even necessary, nor even used) when you know where it comes from, but without the good hint you can search for a long time `:-D` … … 7 11 Nathann 8 12 9 [1] http://ask.sagemath.org/question/1170/memory-blowup-with-milp10 [2] http://ask.sagemath.org/question/1191/memory-blowup-211 [3] https://groups.google.com/forum/#!topic/sage-devel/4jJbIC5TqVs/discussion