Menu

#40 Vector Memeory Leak

open
nobody
None
5
2002-05-03
2002-05-03
Anonymous
No

Hooray for BLT - great to see it here - thanks to all
who are responsible.

Big problem(for me!!) has resurfaced...

Vectors are leaking again !!!
I had this problem on 2.4u and got a patch that fixed
it(thanks George?), but it appears to be back again...

On Linux box, redHat7.2 driving via Python(Pmw)....
everything ok but Vectors only get bigger - never smaller.

e.g.
----------------------
V = Pmw.Blt.Vector()
V.set((1.0,2.0,3.0)*100000)
----------------------

- uses rather a bit of memory as expected but then..

------------
V.set((1.0))
------------

- does not rcover the memory...
or
V = V[0]

etc etc.....

any chance of getting a fix for this - it is trouble
for me....

many thanks again for great stuff

bw
Nick

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.