20,000 files is lkely too much for DGS Search.. you really need an indexing site search for something like that. If you had a powerful enough machine and changed your memory limit for PHP, it will work though. Those settings are in your php.ini file and look like this:
memory_limit = 8M
You'd change it to something like:
memory_limit = 32M
.. and then restart your webserver.