A memory management method arranged to execute memory allocation and/or memory deallocation by use of segregated free lists, which provide information on memory chunks, wherein the device is configured to execute the memory allocation and/or the memory deallocation according to states of the memory chunks, and wherein the states of the memory chunks comprise: - an used state indicating that a memory chunk, which is in used state, is in use, and is not available for allocation; - a linked state indicating that a memory chunk, which is in linked state, is not used, is linked within a free list of the segregated free lists, and is available for allocation; - characterized by a free state indicating that a memory chunk, which is in free state, is not used, is not linked within any of the segregated free lists, and is not available for allocation; wherein the memory management method is configured to execute the memory allocation by: - finding within a free list of the segregated free lists a memory chunk, unlinking the found memory chunk from the free list of the segregated free lists, and setting the state of the found memory chunk to the used state; - verifying whether a right-adjacent memory chunk of the found memory chunk in memory is in the free state; and - if the right-adjacent memory chunk is in the free state, linking the right-adjacent memory chunk into a corresponding free list of the segregated free lists and setting the state of the right-adjacent memory chunk to the linked state; wherein the memory management method is configured to execute the memory deallocation by: - verifying the state of a left-adjacent memory chunk of the memory chunk in memory, with regard to which the memory deallocation is executed; and - if the left-adjacent memory chunk is in the used state, setting the state of the memory chunk to the linked state and linking the memory chunk within a corresponding free list of the segregated free lists; - if the left-adjacent memory chunk is in the linked state, setting the state of the memory chunk to the free state; - if the left-adjacent memory chunk is in the free state, merging the memory chunk and the left-adjacent memory chunk to a new memory chunk and setting the state of the new memory chunk to the free state, wherein the right-adjacent chunk is a memory chunk located to the right of the found memory chunk in a memory block and wherein the left-adjacent memory chunk is a memory chunk located to the left of the memory chunk in a memory or a memory block. - an used state indicating that a memory chunk, which is in used state, is in use, and is not available for allocation; - a linked state indicating that a memory chunk, which is in linked state, is not used, is linked within a free list of the segregated free lists, and is available for allocation; - characterized by a free state indicating that a memory chunk, which is in free state, is not used, is not linked within any of the segregated free lists, and is not available for allocation; - finding within a free list of the segregated free lists a memory chunk, unlinking the found memory chunk from the free list of the segregated free lists, and setting the state of the found memory chunk to the used state; - verifying whether a right-adjacent memory chunk of the found memory chunk in memory is in the free state; and - if the right-adjacent memory chunk is in the free state, linking the right-adjacent memory chunk into a corresponding free list of the segregated free lists and setting the state of the right-adjacent memory chunk to the linked state; - verifying the state of a left-adjacent memory chunk of the memory chunk in memory, with regard to which the memory deallocation is executed; and - if the left-adjacent memory chunk is in the used state, setting the state of the memory chunk to the linked state and linking the memory chunk within a corresponding free list of the segregated free lists; - if the left-adjacent memory chunk is in the linked state, setting the state of the memory chunk to the free state; - if the left-adjacent memory chunk is in the free state, merging the memory chunk and the left-adjacent memory chunk to a new memory chunk and setting the state of the new memory chunk to the free state,