<i>high water mark memory not shared for file I/O needs</i> status still Open with 4 other changes
by
.
D 2010-03-04T13:52:28
J icomment I'm\sglad\sthe\sclouds\shave\sparted\sa\sbit\son\swhat\sis\sgoing\son\shere.\s\sIt\sis\ssomewhat\swhat\sI\sthought,\sbut\sI'm\sstill\sdismayed.\n\nI\swould\sargue\sthat\sany\smemory\smanagement\sscheme\smust\shave\ssome\ssort\sof\sallocation\slifecycle\sbuilt\sin,\swhere\sunused\smemory\sis\sat\ssome\spoint\sdetected,\sgarbage-collected\sand\sfreed.\s\sOtherwise\syour\smemory\smanagement\smethod\sis\soperationally\sindistinguishable\sfrom\sa\sleak,\sas\sthe\spresent\sexample\sshows.\s\sMemory\smanagement\sis\salways\stricky,\sbut\ssimply\spunting\son\sgarbage\scollection\s"within\sthe\suniverse\sof\sTcl_Objs"\sseems\sto\sme\slike\sa\sdisaster\sin\sthe\smaking.\n\nThe\sinterpreter\sneed\snot\swait\suntil\sa\smalloc\sfails\sbefore\sstarting\sa\sdecision\sprocess\sabout\sfreeing\sinternal\smemory.\s\sOne\smight\sfor\sexample\sset\sa\smaximum\shigh\swater\smark\sof\saround\s10\spercent\sof\sRAM,\safter\swhich\sTcl_Obj\smemory\sis\simmediately\sfreed\safter\suse.\s\sOr\sone\smight\sdesign\san\sobject\scompactor\swhich\smoves\sin-use\sTcl_Objs\sfrom\sblocks\sof\sotherwise\sunused\sobjects\sso\sthe\sblocks\scan\sbe\sfreed.\s\sObviously\sI'm\snot\sfamiliar\senough\swith\sTcl's\sinternals\sto\sgive\sa\swise\sand\sinformed\sopinion,\sbut\sas\sa\suser\swho\swants\sto\smake\sexpanded\suse\sof\sTcl\sin\sthe\scoming\scomputer\sworld\swhere\sdata\ssets\sand\sdemands\sfor\sefficiency\swill\sgrow\sdramatically,\sthis\sbehavior\sseems\sa\ssignificant\simpediment.\n
J login blacksqr
J mimetype text/plain
J username blacksqr
K 2960042fffffffffffffffffffffffffffffffff
U blacksqr
Z 191a8dd3a759a41584654fc9a48c6535