Arrays -> Montage crash

Hi,

The Arrays -> Montage filter is crashes with this error:
Plug-in crashed: "gmic_gimp_qt" (/usr/lib/gimp/2.0/plug-ins/gmic_gimp_qt)

The dying plug-in may have messed up GIMP's internal state. You may want to save your images and restart GIMP to be on the safe side.

GMIC 2.6.7 - installed from the official deb package.
GIMP 2.10.12 - from Otto’s PPA
Kubuntu 18.04.3 64bit

What may be the problem?

Maybe too many images, or images that are too big ?
What kind of montage did you try to achieve ?

Thanks for your reply, David.

Horizontal Array.

And yes, it looks like relevant to number of images.
After some test, 2 and 4 images works great.
6 images - works for a long time (until force close and crash).
10 images, my usual qty - almost immediate crash.

It’s strange, as on earlier versions (both Gimp and Gmic), this filter worked great for 10 images.

Is there some memory config I can tweak?

I suspect your image resolutions is too high?
Maybe you should try to lower the resolution of all your images, then try Montage again.

Hello everyone

Just tested myself this filter since it is on my favourite list for ages :slight_smile:

Tested with:
Windows 10 (64 bit)
Gimp 2.10.12 - G’MIC 2.6.7
CPU Intel I7 - Ram 8 gb (SSD drive)

Tried with 20 images (both jpeg and png); each of them around 600-700 kb. Total size of them around 16,7 Mb.
The montage filter does not crash and it performs quite fast.
In the end all images (layers) are monted correctly.

1 Like

Quite often file size does not matter. Image dimensions matter

Hello @heckflosse

Quite often file size does not matter. Image dimensions matter

Thanks a lot indeed for your tip :slight_smile:

Tried once more with only 4 jpeg images (300 dpi each)
Their size is: 4256x2832 pixel.
This time the montage filter was slower but it didn’t crash.

All in all, with G’MIC, I usually try to work with small images (size and dimension) because It may be quite slow with some filters…

If I am allowed to crack a joke, I was also curious to try this filter because I have always read that Windows sucks compared to Linux (which is usually quite true) but this time, for this little testing, it is the opposite :slight_smile:

Lol, I’m on Windows too

Edit: Take my comment with a grain of salt. Though I contributed some optimizations to G’MiC, I’m not a regular contributor…

Hello everyone,

Final test here.
12 jpeg images (4256x2832 pixel each)
This time the G’MIC filter was much slower (it goes without saying…).
No crash whatsoever in the end.

I suppose I have got better specs (CPU, Ram etc) than @bdcomp.
Naturally, It would be extremely interesting to test the same bdcomp’s images in order to ascertain whether they crash G’MIC 2.6.7 on Window 10 as well…

BTW, on Linux, once in a while, I work myself with Kubuntu (KDE desktop). Actually, I am not totally sincere because it is a Virtual Machine (Vbox) with Windows 10 as host :slight_smile:

My files are about 2700*2700px and 1.5mb each.

After enabling HWE stack and upgrade to Kernel 5.0, it looks like just works!
Yay!