Dynamic storage allocation with limited compaction - complexity and some practical implications

  • Authors:
  • J. Baewicz;J. R. Nawrocki

  • Affiliations:
  • Instytut Automatyki, Politechniki, Poznna'nska, Poznaí, Poland;rodowiskowy Orodek Informatyki, Politechnika Poznaska, Pozna, Poland

  • Venue:
  • Discrete Applied Mathematics
  • Year:
  • 1985

Quantified Score

Hi-index 0.05

Visualization

Abstract

In this paper, the problem of dynamic memory allocation with limited compaction of contigious segments, is considered. To be more precise, we are concerned with the problem of finding, given the storage state, a free storage space of a given size by reallocating segments whose total size is minimal. The general case of this problem will be proved to be NP-hard. It is, however, possible to give a linear time algorithm for solving a restricted case, involving only a few types of segment sizes. Moreover, for the general case we present several bounds on the storage size ensuring the possibility of finding in linear time a free space of the desired size by reallocating not more than L memory cells.