Closed b-ma closed 3 months ago
AudioScheduledSourceNode are not collected in Scavenge but only in Mark-Compact step, while GainNodes are:
This could indicate a circular reference, e.g. an object references a closure while the closure also references the object. This is harder to garbage collect.
I'm fine with a hotfix breaking the ended event if that helps your RPi issues. Does it actually? Have you tested this on RPi?
Does it actually? Have you tested this on RPi?
Not yet, I will try to find some to do that today but I'm pretty confident, the cracks and their end seemed related to Mark-Compact
GC calls
Ok seems to work on RPi too! I will generalize the pattern to all events and make a release on Friday
Super!
cf. #118
Ok this is the
ended
event logic which produced the issue (I will recheck but I don't think this is critical for other events)For the record:
Looking at CPU usage with htop (ok it is what it is :), we can even see the performance gain from upstream crate I think
Now the question is, can we fix this somehow or should we drop these events until we find a clean solution....
Next steps:
ended
events