Re: Possible memory leak
Bruce Sherwood <[email protected]>
| Newsgroups | gmane.comp.python.visualpython.user |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> 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
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev