Page MenuHome

bpy.ops.sequencer.rebuild_proxy() don't release memory
Closed, ResolvedPublic

Description

--- Operating System, Graphics card ---
Ubuntu 12.04 - NVidia GForce

--- Blender version with error, and version that worked ---
SVN r 60528

--- Short description of error ---
Making "Rebuild Proxy and Timecode Indices" on a clip don't release the resources after process completion.
This prevent the building of several proxys on one session.

Closing Blender and re opening it releases the memory.


--- Steps for others to reproduce the error (preferably based on attached .blend file) ---
Load one clips on the sequencer, press "Rebuild Proxy and Timecode Indices", Blender memory usage increments, but don't decrement after process completion.
Repeat the process until Blender crash.

Event Timeline

Will have a look at this one, it actually annoyed me too a few times…

Well, I think it’s a question of caching… At least, this patch solves the issue with scene sequences: http://www.pasteall.org/46445/diff

Unfortunately, video proxy building uses a complete different code (in ImBuf) I’m not familiar with... :/

Another strange thing, MEM_get_memory_in_use() reports everything is freed, so I guess the remaining mem is not handled by our guarded allocator?

I confirmed we had the same issue with clip editor's proxy building as well, so I think the problem in mostly in imbuf code.

Assigning to Sergey, who’s the boss here.

Expect it to be fixed in svn r60749.

Thanks for the report, closing :)

Sergey Sharybin (sergey) changed the task status from Unknown Status to Resolved.Oct 14 2013, 5:57 PM