View Single Post
  #1  
Old 11-03-2009, 02:49 AM
andguent andguent is offline
Member
 
Join Date: Mar 2009
Posts: 8
Exclamation massive memory problems

We use nothing but python and vizard but run into serious memory issues.

what we do is basically creating some (10k-20k primitives) objects every trial...do something. get the participants reponse and then .remove() the corresponding objects.

it turns out vizard (winviz) is eating lots and lots of memory. there has to be some leak, we are pretty sure that we dont hold any references to the objects after a trial.

we tried viz.clearcache()...that helps a little but not really.

some observations from the task manager: (calling viz.clearcache() after each trial)
vizard eats memory up to the point where the process tab shows about 1gig. the system performance tab shows about 3gb of usage (after about 20 trials or so). the computer then starts to heavily page. ..then the usage in the process tab shrinks to like 20mb again (winviz being still the biggest memory user). however in the system performance tab, the memory seems to be still taken. the computer keeps paging a lot. performance while loading new objects is horribly slow.

while pressing F4 to see the render characteristics, everything seems fine. primitive / drawables are reasonable for each trial.
Reply With Quote