KxSystems/embedPy

A memory leak in .p.eval

Closed this issue · 3 comments

The following q session log suggests that .p.eval"42" leaks 16 bytes per invocation.

q)\l p.q
q)first system"w"
169952
q)\ts:100000 .p.eval"42"
1524 1600896
q)first system"w"
1769952
q)1769952-169952
1600000

It looks like this is fixed in PR #9.

After $ git co jhanna-kx/master:

q)\l p.q
q)first system"w"
170384
q)\ts:100000 .p.eval"42"
1595 1600896
q)first system"w"
1770384

Thanks, should be resolved now.

closing, let me know if needs reopened