I’ve encountered a memory leak issue in TouchDesigner version 2023.12000 related to the DAT method findCell()
.
When I repeatedly call findCell()
on a DAT in a loop or from a script, memory usage increases continuously and is never released, leading to a memory leak.
In contrast, using findCells()
under the same conditions does not cause any memory increase.
findCell.toe (3.7 KB)
Reproducible Example:
# This leaks memory
for _ in range(100000):
dat.findCell('someValue', cols=['colname'])
# This does not leak
for _ in range(100000):
dat.findCells('someValue', cols=['colname'])
Environment:
- TouchDesigner version: 2023.12000
- OS: Windows10, Mac
Let me know if this is a known issue or if I can provide further details.
Thanks!