implement sanity check to prevent caches in general.php from overflowing
memory for long-running scripts



git-svn-id: http://svn.resourcespace.org/svn/resourcespace@4348 c08608d7-6e46-0410-86ca-f2a6f1370df5
Initial commit
Merge branch 'master' of github.com:rzamana/resourcespace