0 votes 0 votes Can someone make me clear whether segmentation method of memory allocation is free from internal and external fragmentation.? Also plz give valid explanation in support of your answer. Operating System segmentation operating-system memory-management + – Habibkhan asked Oct 25, 2016 Habibkhan 662 views answer comment Share Follow See all 5 Comments See all 5 5 Comments reply Arjun commented Oct 25, 2016 reply Follow Share Internal -no. Because we just allocate what we need. External- yes. Because due to variable size allocation space can be wasted in between. 1 votes 1 votes Habibkhan commented Oct 25, 2016 reply Follow Share But sir I think internal fragmentation is possible if segmented paging is used then fragment possible in the last page of the segment which will be internal fragmentation..Correct me sir if I m wrong.. 0 votes 0 votes srestha commented Oct 25, 2016 reply Follow Share I think it is a good reference https://gateoverflow.in/9566/segmentation if segmentation is variable partitioning then it is free from internal fragmentation , but not from external fragmentation 0 votes 0 votes Habibkhan commented Oct 25, 2016 reply Follow Share Thanks a lot @srestha..So we can say out of the available methods , segmentation is best method of memory allocation isn't it?? In case segment size becomes large we do paging of the segment.. 1 votes 1 votes srestha commented Oct 25, 2016 reply Follow Share segmentation is better than static partitioning. I think it is not best, as it causes external fragmentation. Some times paging gives better memory utilization than segmentation For ur 2nd question ans is https://gateoverflow.in/33954/segmented-paging-and-paged-segmentation 1 votes 1 votes Please log in or register to add a comment.
Best answer 2 votes 2 votes i think segmentation doesnt create any internal fragmentation as each module of the process is entirely occupied in the segment. but it creates external frgmentation when we free one few segments...which creates holes. Anusha Motamarri answered Oct 25, 2016 • selected Oct 25, 2016 by Habibkhan Anusha Motamarri comment Share Follow See all 0 reply Please log in or register to add a comment.