The application isn't particularly optimized, and the developer acknowledges this in the github notes themselves.
What resolution are your source images? The software does a lot of caching that could be significantly optimized, and I've noticed MASSIVE memory usage when I run it with a fairly high resolution model that has dozens of images.
Reducing the image size down to what you need will help with memory usage in the meantime.