I wrote a small application using xuggler which combines BufferedImages into a video (slideshow). The app works fine for smaller images but has problems with higher resolutions like for example 4000 x 6000. CPU usage is at 100% and my machine freezes completely.
Is there a way to limit the process in a way that Java won't use that much CPU?