<i>Dumping to File is Leaking Memory?</i> status still Closed with 4 other changes
by
.
D 2008-03-26T21:42:41
J icomment \n\nFile\sAdded\s-\s271946:\smemleak.tcl\n\nLogged\sIn:\sYES\s\nuser_id=340696\nOriginator:\sYES\n\nHi\sAndreas,\n\nIn\syour\sfirst\sreply\syou\ssaid\s\n\n"in\syour\sactual\sserver,do\syou\shave\sit\sgrowing\swith\severy\sdbsave\s?\sif\syes\sI\nwould\sassume\sthat\syour\sare\ssomewhere\sholding\son\sto\sthe\sold\slists\sand\sthus\ntheir\smemory\sis\snot\sreleased,\si.e.\sI\sassume\sthat\stheir\sref\scount\snever\sgoes\nto\szero."\n\nI\sthink\sI\sfound\sthe\s"problem"\susing\sThreads.\sIn\sour\sreal\sserver\swe\suse\sThreads\sin\san\sintensive\sway.\sWe\salmost\sdon't\suse\sthread\sshared\svariables\sbecause\swe\sknown\sby\sexperience\sthat\sare\sreally\sslow\sfor\sbig\svariables,\sso\severytime\sthat\swe\sneed\sto\swork\swith\svariables\sin\sthreads,\sto\sread\sor\smodify\sthem,\swe\suse\sthe\s'set'\scommand.\n\nAttached\swe\scan\sfind\sa\snew\smodification\sof\sthe\sscript\swere\swe\scan\ssee\sthat\sthe\smemory\skeeps\sincreasing.\sIn\sthe\sexample\sI've\stried\sdoing\sthe\s'set'\sdirectly\sand\swith\sa\sproc,\swith\sno\sdifference.\sIn\sour\ssystem\sit's\sworse\ssince\swe\shave\smultiple\sthreads.\n\nIs\ssomething\swrong\sin\sthe\sway\sthat\sI'm\susing\sthe\sThreads?\sIf\sso,\splease,\show\sshould\sI\sdo\sit?\n\nThanks.\nFile\sAdded:\smemleak.tcl\n
J login ctasada
J mimetype text/plain
J username ctasada
K 1913398fffffffffffffffffffffffffffffffff
U ctasada
Z 30e433e8734fba75caeb2574a23d159b