[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] Memory leak in Pattern:render



One possibility is that so many objects get created during rendering that the incremental garbage collector can't keep up. I'm not clear on all the details of GC in SC, but IIRC (very loosely) the GC does partial scans periodically, so that no call into the GC lasts long enough to screw up realtime work. Creating objects in bulk doesn't mean that garbage collection also happens in bulk.

I could be offbase here. I bet some old threads on GC are around in the list archives (probably sc-dev).
hjh


On May 4, 2009, at 11:27 AM, Tim Walters wrote:

sh0099 wrote:
i ones hat a problem i was thinking about as a memory leak, where a huge amount of memory was used. some of the memory was allready on the swap (virtual-ram on the hd), this memory has not been deallocated during the running process...
i had this problem also with other apps.
could it similar in your case?

I'm not sure I understand exactly what you mean, but I think not. When I render while running top, I can see the SC rsize and vsize increase by 30 meg every time I render.


: H. James Harkins
.::!:.:.......:.::........:..!.::.::...:..:...:.:.:.:..:

"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal."  -- Whitman