hola
sorry to break the summer silence on here, but got this little issue.
If i make a loop that creates and deletes a shape from a rotopaint node
many (many!) times, nuke starts eating up all my RAM and the system runs
very slow.
When I check nukes buffer reports it looks very well kept, so I am not sure
if it is a windows thing or a nuke thing, maybe someone could give it a try
on linux?
1. open new nuke.
2. create a rotopaint node. close its properties for better performance.
3. run this code (when the rotopaint is selected):
import _curveknob
x = ((100,100),(200,200),(300,100))
roto = nuke.selectedNode()
def newShape(toNode, points):
rl = toNode["curves"].rootLayer
y = _curveknob.Shape(toNode["curves"], *points)
rl.append(y)
for i in range(10000):
roto["curves"].rootLayer.removeAll()
newShape(roto, x)
4. check if nuke is now using a large (1gb+) amount of ram.
Using 7.0v8 PLE on Windows
thanks!
--
■ ■ ■ ■ ■ ■ ■ ■ ■ ■
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python