Changeset 70d976 in git for Singular/HOWTO.FindMemoryHoles
- Timestamp:
- Mar 10, 2014, 2:15:11 PM (10 years ago)
- Branches:
- (u'spielwiese', 'e7cc1ebecb61be8b9ca6c18016352af89940b21a')
- Children:
- daa13f7cda0d499a1e8ef40d88b9b73bf2494fc2
- Parents:
- 283b70e49eea4578aec6c525038a9ce8df08977bc31461d231f9fdd0c0b673f01d45452a804692e0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/HOWTO.FindMemoryHoles
r283b70 r70d976 1 Here is a first short HowTo on how to locate memory holes in Singular: 2 1.) Make sure you build with -DOM_TRACK=5 (e.g. use Singulart, Singularg). 1 Here is a HowTo for locating memory holes in Singular: 2 3 0.) disable optimization and define flag OM_TRACK=5 : 4 set 5 CXXFLAGS=" -O0 -DOM_TRACK=5 " 6 CFLAGS=" -O0 -DOM_TRACK=5 " 7 explicitly, since configure option '--disable-optimizationflags' does not enable -O0 8 9 1.) configure Singular with options 10 " --enable-debug --with-track-fl --with-track-backtrace " 11 or similar (see available options from 'cd omalloc/ && ./configure --help ) 3 12 2.) Use system("mtrack", [<level>, [<filename>]]) to get a report about 4 13 unused memory, where
Note: See TracChangeset
for help on using the changeset viewer.