I'd look for some "jAlbum" file that's executable. I'm confused about this as my Mint Linux installation doesn't look like yours. My Exec= line looks like this as you remember:
Exec=/usr/lib/jalbum/jre64/bin/java -Xmx1200m -DuseDesktop=true -jar /usr/lib/jalbum/JAlbum.jar
. Try using the same or try locating some "jAlbum" shell script file that probably contains the -Xmx parameter. What Linux system are you using and what jAlbum archive did you install?
I am using Ubuntu 20 04 LTS which uses the .deb archive.
I am sure I have years ago been able to alter a full "Exec=" line just like you describe, but where is it? If I open the file manager, I can see jAlbum.desktop which contains the "Exec=jAlbum %f" line.
But I thought the file should be "Jalbum.desktop" which I could see if I opened the file manager as Administrator and I think it does have the Exec command with all the parameters present. But although I could type in the intended change to "4000M" I couldn't save the file, and when looking to change the permissions in a Terminal, it "doesn't exist".
It is not a big issue as I don't make many albums these days, but it does provoke my curiosity.
