Re: Will TCL release the variables automatically when the procedure is finished?
- From: Alexandre Ferrieux <alexandre.ferrieux@xxxxxxxxx>
- Date: Fri, 12 Sep 2008 12:46:29 -0700 (PDT)
On Sep 12, 8:54 pm, bingo <zhn...@xxxxxxxxx> wrote:
I think the problem might be that I'm doing too much float point math
using TCL.
Floating-point per se won't harm you much on the memory scale.
However, looking at your code, a likely culprit would be the NAMD
implementation of primitives like [vecscale] and [vecadd], which you
call very frequently, and which allocate a vector or list for their
return value. If I were to guess, I'd say one of these fails to
decrement properly the refcount of these returned vectors, which leads
to systematic leaks.
Please tell me which version of NAMD you're using, I'll take a peek
inside.
-Alex
.
- References:
- Will TCL release the variables automatically when the procedure is finished?
- From: bingo
- Re: Will TCL release the variables automatically when the procedure is finished?
- From: miguel
- Re: Will TCL release the variables automatically when the procedure is finished?
- From: bingo
- Re: Will TCL release the variables automatically when the procedure is finished?
- From: bingo
- Re: Will TCL release the variables automatically when the procedure is finished?
- From: Alexandre Ferrieux
- Re: Will TCL release the variables automatically when the procedure is finished?
- From: bingo
- Re: Will TCL release the variables automatically when the procedure is finished?
- From: Alexandre Ferrieux
- Re: Will TCL release the variables automatically when the procedure is finished?
- From: bingo
- Re: Will TCL release the variables automatically when the procedure is finished?
- From: Alexandre Ferrieux
- Re: Will TCL release the variables automatically when the procedure is finished?
- From: bingo
- Re: Will TCL release the variables automatically when the procedure is finished?
- From: Christian Gollwitzer
- Re: Will TCL release the variables automatically when the procedure is finished?
- From: bingo
- Will TCL release the variables automatically when the procedure is finished?
- Prev by Date: Re: Will TCL release the variables automatically when the procedure is finished?
- Next by Date: Re: Will TCL release the variables automatically when the procedure is finished?
- Previous by thread: Re: Will TCL release the variables automatically when the procedure is finished?
- Next by thread: Re: Will TCL release the variables automatically when the procedure is finished?
- Index(es):