#13731: Fix libsingular memory management
--------------------------------------------------------------+-------------
Reporter: nbruin | Owner:
rlm
Type: defect | Status:
new
Priority: major | Milestone:
sage-5.6
Component: memleak | Resolution:
Keywords: | Work issues:
Report Upstream: Fixed upstream, in a later stable release. | Reviewers:
Authors: Nils Bruin, Simon King | Merged in:
Dependencies: | Stopgaps:
--------------------------------------------------------------+-------------
Comment (by nbruin):
Replying to [comment:108 SimonKing]:
> PPPS:
> {{{
> All tests passed!
> Total time for all tests: 6376.5 seconds
> bash-3.2$ echo $MALLOC_CHECK_
> 3
> }}}
> with the xalloc singular on bsd.math!!
That variable doesn't do anything on OSX, so congratulations that xalloc
works on OSX, but you haven't done stringent memory checking yet. Try
{{{
export DYLD_INSERT_LIBRARIES=/usr/lib/libgmalloc.dylib
}}}
instead. see `man libgmalloc` for various options to select what should be
guarded.
(warning: It will run MUCH slower and take MUCH more memory. It seems
gmalloc is about as strict as `ElectricFence` which is also incredibly
slow. Valgrind is speedy by comparison)
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13731#comment:109>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.