Back to main page

How to raise the memory limit

DocFetcher has a default memory limit of 256 MB, which is set on startup. The limit can be raised by fiddling with the platform-specific launchers:

Windows

The Windows version of DocFetcher ships with ready-made alternative launchers that set different heap sizes. Follow these steps to use them:

Another way of changing the memory limit is to copy the file misc\DocFetcher.bat into the DocFetcher folder and alter the expression -Xmx256m in the last line of the file, for example to -Xmx512m.

Linux

Open the launcher script DocFetcher/DocFetcher.sh with a text editor, and in the last line, alter the expression -Xmx256m as needed, for example to -Xmx512m.

Mac OS X

On Mac OS X, the memory limit is configured via a file named memory-limit.txt. The location of this file depends on which version you're using:

If the file doesn't exist yet, launch DocFetcher once to have it created automatically. After opening the file: