These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

new batch limit of 256 files in Acrobat Pro 8 and 9?

buoyB
Registered: Oct 11 2009
Posts: 5
Answered

I've recently encountered a problem where Acrobat Pro (8 and 9) will not batch process more than 256 files. It will process up to 256 files, then generates error messages that it cannot open the remaining files because it thinks they are already open. It is as if Acrobat Pro starts tripping over itself and can't remember which files have been already opened and closed. Once the error occurs, there is no way to rerun the batch sequence without shutting Acrobat down and restarting it.

I've been doing these types of batch operations for the last 5 or so years without problem. The problem cropped up this year and I've been able to reproduce it on 2 different computers ... one with Acrobat Pro 8 and one with Acrobat Pro 9. Both are running Windows XP SP3.

At first, I thought it might be something corrupt in some of the files, but the following experiment ruled out that possibility.

I used Acrobat Pro 9 to create a blank, one-page pdf.
I then used the following DOS command
for /L %f in (1,1,300) do copy D:\batch_test\blank.pdf D:\batch_test\%fblank.pdf
to create 300 identical copies named 1blank.pdf, 2blank.pdf, ..., 300blank.pdf .
Each file was 6 Kb in size.

I then ran different batch operations (count number of files, count number of pages, number pages) on the folder containing the 300 blank files using the batch processing utilities accessible from Advanced > Document Processing > Batch Processing. Some were simple javascript executions others were the built-in batch commands that come with Acrobat Pro.

In all cases, the batches processed 256 files and then stated that they could not open the remaining files.
The stated reason that it could not open the remaining files is that they "are already open."
When I looked in the output folder (a different folder from D:\batch_test) designated for the batch operation, I found 256 files had been processed.

Has anyone else encountered a similar limit?

I'm not a programmer, but I recall 256 being some type of array limit for some programming languages and wondered if this might be related to the cause.

My Product Information:
Acrobat Pro 9.1.3, Windows
try67
Expert
Registered: Oct 30 2008
Posts: 2399
Can't provide an answer to your problem (or test it myself at the moment), but yes, 256 is 2^8, which is 8-bit in computer terms, so if the programmers used an 8-bit variable to store the number of files processed by the batch process then the process would fail when arriving to file number 257.

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com

buoyB
Registered: Oct 11 2009
Posts: 5
Thanks for the info regarding 8 bit variables.
Please let me know if you get a chance to reproduce the results using a blank, one-page pdf.
buoyB
Registered: Oct 11 2009
Posts: 5
The problem appears to be related to a 3rd party plugin that handles geopdf files. The problem (limit on number of files) disappears when the plugin is removed, but then the batch operations can't handle the geopdf-enabled files. I've written to the company's support group with a description of the problem.
try67
Expert
Registered: Oct 30 2008
Posts: 2399
Makes sense. At any rate, I was sure it's a problem with your installation and not a general issue, otherwise this would have come up plenty of times in the past on the forums.

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com