10 lines
338 B
Plaintext
10 lines
338 B
Plaintext
|
{
|
||
|
# memory limit to catch any memory leak before it kills the system
|
||
|
my $MIN_MEMORY_LIMIT = 80000000;
|
||
|
|
||
|
# The MIN_MEMORY_LIMIT is returned unless the DB variable is defined and greater than MIN_MEMORY_LIMIT
|
||
|
my $limit = $pop3s{MemLimit} || $MIN_MEMORY_LIMIT;
|
||
|
$limit = $MIN_MEMORY_LIMIT if $limit < $MIN_MEMORY_LIMIT;
|
||
|
$OUT = "MEM=$limit";
|
||
|
}
|