What is a contiguous memory block?

后端 未结 6 2038
忘掉有多难
忘掉有多难 2020-11-28 05:32

Just like in the title, what is a contiguous memory block?

6条回答
  •  有刺的猬
    2020-11-28 06:05

    Memory consists of a large number of blocks of bytes. Each block has its own address. When a process requests for memory, memory is allocated in two ways:

    1. Contiguous Memory Allocation
    2. Non-Contiguous Memory Allocation

    In contiguous memory allocation, consecutive (one after Another) blocks are assigned which are called contiguous Memory blocks.
    In non-contiguous memory allocation, separate blocks present at different locations are assigned.

提交回复
热议问题