Patent ID: 8874873

Claim:
A method of controlling allocation of memory resources in a storage system, the storage system comprising at least one storage device and a processing unit, said memory resources being associated with said processing unit and operable to communicate with a plurality of connections, the method comprising: receiving by the storage system a request from a connection for processing information related to said at least one storage device; obtaining information in respect of an Allocation state of said processing unit, the allocation state being indicative of a quantity of currently allocated resources associated with said processing unit, wherein said Allocation state is defined as a Limiting Allocation state if the quantity of currently allocated resources associated with said processing unit is greater than a first threshold value; in case the Allocation state of said processing unit is Limiting Allocation state, obtaining information in respect of a Connection state of the connection, wherein said Connection state is defined as a Limiting Connection state if a quantity of resources currently allocated to the connection is greater than a second threshold value; and dynamically allocating to said connection, memory resources required for processing said information related to said at least one storage device, according to the Allocation state of said processing unit and the Connection state of said connection.