improved memory management

This commit is contained in:
Jeff Hill committed 2002-02-26 19:51:54 +00:00
1 parent b231b3a365
commit d77490ab20
1 file changed
+1 -1
+1 -1
View File
@@ -1975,7 +1975,7 @@ LOCAL int search_reply ( caHdrLargeArray *mp, void *pPayload, struct client *cli
* stop further use of server if memory becomes scarse
*/
spaceAvailOnFreeList = freeListItemsAvail ( rsrvChanFreeList ) > 0
&& freeListItemsAvail ( rsrvEventFreeList ) > 0;
&& freeListItemsAvail ( rsrvEventFreeList ) > 10;
if ( ! ( casSufficentSpaceInPool || spaceAvailOnFreeList ) ) {
SEND_LOCK(client);
send_err ( mp, ECA_ALLOCMEM, client, "Server memory exhausted" );