From: Bruce S. <bas...@nc...> - 2010-10-30 05:03:28
|
I happened to find a simple routine that shows the memory growth: from visual import * xs = ones(100000, float) c = curve(x=xs) while True: c.x = pts Bruce Sherwood On Fri, Oct 29, 2010 at 11:32 AM, Bruce Sherwood <bas...@nc...> wrote: > Following your suggestion, I tried the following in VPython 5.4 on > Python 2.7 in Windows 7 > > from visual import * > N = 1000000 > pts = ones(N*3).reshape(N,3) > while True: > c = curve(pos=pts) > c.visible = False > del c > > Is this something like what you did? I watch the Windows Task Manager > and cannot see any change in the memory usage. > > Bruce Sherwood |