You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For every new Movie there is a GstBus - Thread being generated. If a Movie is properly disposed after a short playing time and a new Movie is created the old bus is being used (as far as I can tell).
movie.pause();
movie.stop();
movie.dispose();
movie = null;
System.gc();
movie = new Movie...
However if a Movie is playing for longer than a few minutes the thread is not being reused but a new one is created. Over time this can lead to many GstBus Threads which can slow down and even crash the application.
The threads can be checked with VisualVM.
Is there any way to avoid this?
Example (simply change the counter limit to something <= 750):
For every
new Movie
there is a GstBus - Thread being generated. If a Movie is properly disposed after a short playing time and a new Movie is created the old bus is being used (as far as I can tell).However if a Movie is playing for longer than a few minutes the thread is not being reused but a new one is created. Over time this can lead to many GstBus Threads which can slow down and even crash the application.
The threads can be checked with VisualVM.
Is there any way to avoid this?
Example (simply change the counter limit to something <= 750):
The text was updated successfully, but these errors were encountered: