Garbage collection

May 15, 2012 at 11:44pm

Garbage collection

Hi, wondered if anyone has any views or details on performance of the garbage collector in MAX and M4L. Wondered whether I can really trust this to clean things up efficiently or whether I should be deleting things as I go along?

Any info appreciated, cheers, L

#63621
May 16, 2012 at 2:23pm

You’ll need to specify what you think is supposed to be garbage collected. What are you doing?

#229335
May 16, 2012 at 6:54pm

Hi. For example if I create lots of arrays for processing during execution of a function, should I be worried about having to delete all the contents myself or will this b efficiently handled by m4l? Also but worried about creating and using multiple Liveapi objects that are attached to callbacks that will not be cleared up Ben though I’m not using them anymore. Thanks, l

#229336

You must be logged in to reply to this topic.