Storage allocation algorithm

In computer science, a storage allocation algorithm is an algorithm that allocates (1) the memory for use by a computer program during the runtime of that program or (2) the disk storage for data. It is a method of distributing the use of limited resources among many pieces of data and programs.