I have gone in and increased the Maximum JVM Heap Size from the default of 512mb to 2048mb
Since, apparently, CF started after you did this I would assume this is true, but to double check. Is this a 64bit version of ColdFusion? With a 32bit CF you can't have a JVM that large, that pratical limit for 32bit is about 1.4 GB.
The next obvious question is how many images and how large are they in this directory. If any of them are full RAW format images, you could be exceeding that memory limit with a single image. But with even more compressed formats it doesn't take many large images to full up a gig or two of memory.
Sorry, forgot to mention that, this is a 64bit system.
The total size of all the images is 28.1mb in 58 files. The individual file sizes range from 6kb to 2449kb. All are jpg and bmp, but only a few bmps. There were also some eps files but I converted them to jpg as part of my troubleshooting process.
Also, I have a grid so that I can open them up individually into a pdf file and doing so one at a time works fine. Although the 1meg+ size files do take a considerable amount of time to load.
What happens if you do that without the <cfdocument...> tag? That should create a webpage with all those images. Can the systems handle that?
I got a new message this time when not using the cfdocument tag. Opening one by one still works. It also takes at least 10 minutes to time out.
The server encountered an internal error and was unable to complete your request.
Could not connect to JRun Server.
You may be dealing with a request time out issue. That is 30 seconds by default. It can be overridding with a <cfsetting requestTimeOut="seconds"> tag on a CFML file that is expected to take longer to process.
I would also try different size batches to see where the limit seems to be. Can you do 5 files, 10, 15 etc.
I take that back, without the cfdocument tag it does output correctly. I had an operator error to get the cant connect to jrun server.
I also resized all the images to below 1mb and it seems to work but still slow as molassas.