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

File size of glob.js

muggel_mail
Registered: Oct 28 2009
Posts: 9
Answered

Hello all,

are there any restrictions on the file size of the glob.js file in the user folder? I need to store a lot of global variables there, cause I want to track all documents ever opened with acrobat reader over a long period of time.

Thanks in advance,
Thomas.

Dimitri
Expert
Registered: Nov 1 2005
Posts: 1389
Hi muggle_mail,

I believe it is 4k now, unless they reduced it again after version 8 ( it used to be 32k).

Hope this helps,

Dimitri
WindJack Solutions
www.windjack.com
www.pdfscripting.com
muggel_mail
Registered: Oct 28 2009
Posts: 9
Hi Dimitri,

thanks for your reply. Do you have a link to an official statement of adobe for that?

Thanks again,
Thomas.
Dimitri
Expert
Registered: Nov 1 2005
Posts: 1389
Hi muggle_mail,

You can find that in the official Acrobat JavaScript Reference under the "Global" object.

The Acrobat JavaScript Reference, Use it Early and Often
http://www.adobe.com/devnet/acrobat/javascript.php

Hope this helps,

Dimitri
WindJack Solutions
www.pdfscripting.com
www.windjack.com
muggel_mail
Registered: Oct 28 2009
Posts: 9
Hi Dimitri,

I read the docu, but somehow overlooked the corresponding paragraph. Thanks for pointing me into the right direction here.

But still, the statement "there is a 2-4 KB limit on the size" is a bit strange or am I missing something here? I mean 4K is a limit but whats about 2K? It is obviously possible to have files smaller than 2K. Or are there differences between pro and reader?

Thanks again,
Thomas.