optimization levels for the memory allocator
Closed / Fixed218215ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:54:36
OriginalBugID: 2534 RFE
Version: 8.2b2
SubmitDate: '1999-08-12'
LastModified: '2000-05-10'
Severity: MED
Status: Closed
Submitter: techsupp
ChangedBy: hobbs
OS: Windows NT
OSVersion: 4.0 sp5
Machine: X86
FixedDate: '2000-10-25'
ClosedDate: '2000-05-10'
Name:
David Gravereaux
Comments:
My program can grow to have a a very large memory footprint after about
a week. I would prefer to pass up the speed improvement for footprint.
DesiredBehavior:
I was wondering if an memory optimization level could be added. Make it
a global variable like tcl_memOpt where 1 is the lowest and the
allocator returns all Tcl_Free'd memory back to the system, and 5 keeps
the current behavior for the best speed. With 3 being a compromise.
Could this be shoehorned into tclAlloc.c without too much of a hassle?
The core already has hooks for all memory allocation, which are
probably better to use than fiddling with this in the core.
It's not clear what the differences would be at the core level
anyway, and if it wouldn't just slow things down when you have
to switch on "opt" levels.
-- 05/10/2000 hobbs
welch Closed ticket [218215ffff].
[History diff]2000-10-26 08:16:57
dgp Open ticket [218215ffff].
[History diff]2001-04-18 22:43:26
dgp Closed ticket [218215ffff].
[History diff]2001-04-18 22:44:29
Log in (anonymous is fine) to add a comment.