This week, I learned about how a computer program views and utilizes memory in a system. I learned about the address space, which can be thought of as an abstraction of how a program sees its memory in the physical system.
I also discovered that programs have two different types of memory locations. The stack memory is responsible for handling allocations and deallocations for the programmer; this is typically reserved for the running program. Another location for memory would be the heap memory; this is where the programmer can handle the allocations and deallocations using malloc() and the more important free() call.
Lastly, I was fascinated with how segmentation helps manage large address spaces by breaking them down into smaller segments, or what can be referred to as "chunks."
Overall, it was a fascinating week of learning about the intricacies of memory management in this operating systems class.
No comments:
Post a Comment