-
it kills performance, but i found that you can just reload the module to control the memory leak.
-brett
import Image
i = Image.open("hardhat.jpg").convert("L")
index = 0
while 1:
import Potrace
potrace = Potrace.Potrace()
result = potrace(i.im.id)
print index
index += 1
del potrace
reload( Potrace )
2007-02-08 18:34:05 UTC in PyPotrace
-
i can't figure out where this memory is leaking, i'm even deleting the module and potrace instance on each loop. But still this code will quickly run out of memory, by the 800th iteration you will be at 300MB
-brett
import Image
i = Image.open("hardhat.jpg").convert("L")
index = 0
while 1:
import Potrace
potrace = Potrace.Potrace()
result =...
2007-02-08 01:15:45 UTC in PyPotrace
-
Logged In: YES
user_id=673159
1. A technical description:
PyOSG is written in c++ using the Boost Python wrapper
library. The purpose of PyOSG is to make the OpenSceneGraph
rendering library available in Python. With PyOSG a Python
developer can make 3d applications such as: game engines, 3d
art tools, and other types of 3d visualization programs.
PyOSG is a flat wrapper to...
2004-06-29 17:58:18 UTC in SourceForge.net
-
Logged In: YES
user_id=673159
technical description:
PyOSG is written in c++ using the Boost Python wrapper
library. The purpose of PyOSG is to make the OpenSceneGraph
rendering library available in Python. With PyOSG a Python
developer can make 3d applications such as: game engines, 3d
art tools, and other types of 3d visualization programs.
PyOSG is a flat wrapper to...
2004-06-25 19:21:52 UTC in SourceForge.net
-
I would like to submit my project for hosting on SourceForge.net based on the following information. It is my understanding that the UNIX name I selected is currently in use (either by another active project, a deleted project, or by an "on-hold" project). This Tracker item has been autogenerated by the Project Registration system (https://sourceforge.net/register/) on...
2004-06-25 18:21:26 UTC in SourceForge.net
-
Hello,
The project maintainer for the PyOSG project, Gideon
May, has dissapeared from the mailing list and has not
updated the site for many months. No one has been able
to contact him at any of the emails he had used before.
I have continued to work on PyOSG, and have done two
release since then, but i have had to release them on
my own site becuase i do not have permissions to...
2004-06-24 20:52:39 UTC in SourceForge.net
-
Logged In: YES
user_id=673159
Python bindings would be great. Interfaces could then be
made with pygtk.
http://www.daa.com.au/~james/pygtk/.
2002-12-20 19:21:54 UTC in The OpenSG Scenegraph