Turn on option low_mem (which need rewrite to use db/row) if there
authorDobrica Pavlinusic <dpavlin@rot13.org>
Wed, 25 Oct 2006 15:56:44 +0000 (15:56 +0000)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Wed, 25 Oct 2006 15:56:44 +0000 (15:56 +0000)
commitbb81fce73e4f5ec9c43cfb21e594acfa192b9638
tree35e5f913110fdd191536d88e0edfba214a0c6420
parent10978a477915b408235c527fb2154c0b5bf31eaf
Turn on option low_mem (which need rewrite to use db/row) if there
are more than 10000 rows (hardcoded, but should go away).

This prevents webpac from running out of memory with databases
of about 300000 records on 4Gb of (virtual) memory.

git-svn-id: svn+ssh://mjesec/home/dpavlin/svn/webpac2/trunk@760 07558da8-63fa-0310-ba24-9fe276d99e06
lib/WebPAC/Input.pm