{"id":431,"date":"2018-05-10T02:52:00","date_gmt":"2018-05-10T02:52:00","guid":{"rendered":"https:\/\/khanhcode.com\/?p=431"},"modified":"2020-12-20T03:02:46","modified_gmt":"2020-12-20T03:02:46","slug":"memory-management","status":"publish","type":"post","link":"https:\/\/khanhcode.com\/?p=431","title":{"rendered":"Memory Management"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>Project URL: <\/strong><a href=\"https:\/\/github.com\/Insignite\/Memory-Management\">https:\/\/github.com\/Insignite\/Memory-Management<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Computer languages often required a way to dynamically allocate memory, which means that memory is acquired while the program is running. This contrasts with static memory allocation. The project simply is a simple memory manager, which allow the user to allocate and release memory, tracking of available memory, used, and how much memory is used, the next memory available, etc. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Memory Management is initialized with 3 slots of 2-bit memory tracking known as memory system header: Next free memory index, In-use memory head, and Used memory head. Memory block structure that will be allocated after memory system structure included 3 sections: the first section holds memory size, the second section holds the last memory header index, the third section hold the next available memory index, and the final fourth section will be the amount of 2-bit block memory size.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Example of how the code operate on allocating memory:<\/strong><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>1. Empty Memory Table<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><\/td><td>0<\/td><td>1<\/td><td>2<\/td><td>3<\/td><td>4<\/td><td>5<\/td><td>6<\/td><td>7<\/td><td>8<\/td><td>9<\/td><td>A<\/td><td>B<\/td><td>C<\/td><td>D<\/td><td>E<\/td><td>F<\/td><\/tr><tr><td>0<\/td><td>3<\/td><td>0<\/td><td>0<\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><\/tr><tr><td>1<\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><\/tr><tr><td>2<\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><\/tr><tr><td>3<\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><\/tr><tr><td>4<\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><\/tr><tr><td>5<\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>2. Allocating first memory block size of 7<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><\/td><td>0<\/td><td>1<\/td><td>2<\/td><td>3<\/td><td>4<\/td><td>5<\/td><td>6<\/td><td>7<\/td><td>8<\/td><td>9<\/td><td>A<\/td><td>B<\/td><td>C<\/td><td>D<\/td><td>E<\/td><td>F<\/td><\/tr><tr><td>0<\/td><td>D<\/td><td>3<\/td><td>0<\/td><td>7<\/td><td>0<\/td><td>D<\/td><td>\/<\/td><td>\/<\/td><td>\/<\/td><td>\/<\/td><td>\/<\/td><td>\/<\/td><td>\/<\/td><td><\/td><td><\/td><td><\/td><\/tr><tr><td>1<\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><\/tr><tr><td>2<\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><\/tr><tr><td>3<\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><\/tr><tr><td>4<\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><\/tr><tr><td>5<\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>3. Allocating second memory black of size 10<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><\/td><td>0<\/td><td>1<\/td><td>2<\/td><td>3<\/td><td>4<\/td><td>5<\/td><td>6<\/td><td>7<\/td><td>8<\/td><td>9<\/td><td>A<\/td><td>B<\/td><td>C<\/td><td>D<\/td><td>E<\/td><td>F<\/td><\/tr><tr><td>0<\/td><td>1A<\/td><td>0D<\/td><td>03<\/td><td>7<\/td><td>0<\/td><td>D<\/td><td>\/<\/td><td>\/<\/td><td>\/<\/td><td>\/<\/td><td>\/<\/td><td>\/<\/td><td>\/<\/td><td>10<\/td><td>3<\/td><td>1A<\/td><\/tr><tr><td>1<\/td><td>\/<\/td><td>\/<\/td><td>\/<\/td><td>\/<\/td><td>\/<\/td><td>\/<\/td><td>\/<\/td><td>\/<\/td><td>\/<\/td><td>\/<\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><\/tr><tr><td>2<\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><\/tr><tr><td>3<\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><\/tr><tr><td>4<\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><\/tr><tr><td>5<\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><td><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Project Completed Date: December 2017<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Project URL: https:\/\/github.com\/Insignite\/Memory-Management Computer languages often required a way to dynamically allocate memory, which means that memory is acquired while the program is running. This contrasts with static memory allocation. The project simply is a simple memory manager, which allow the user to allocate and release memory, tracking of available memory, used, and how much [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":432,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"site-sidebar-layout":"default","site-content-layout":"default","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[4],"tags":[],"class_list":["post-431","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-projects"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"Project URL: https:\/\/github.com\/Insignite\/Memory-Management Computer languages often required a way to dynamically allocate memory, which means that memory is acquired while the program is running. This contrasts with static memory allocation. The project simply is a simple memory manager, which allow the user to allocate and release memory, tracking of available memory, used, and how much\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Insignite\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/khanhcode.com\/?p=431\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"KhanhCode -\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Memory Management - KhanhCode\" \/>\n\t\t<meta property=\"og:description\" content=\"Project URL: https:\/\/github.com\/Insignite\/Memory-Management Computer languages often required a way to dynamically allocate memory, which means that memory is acquired while the program is running. This contrasts with static memory allocation. The project simply is a simple memory manager, which allow the user to allocate and release memory, tracking of available memory, used, and how much\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/khanhcode.com\/?p=431\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/i0.wp.com\/khanhcode.com\/wp-content\/uploads\/2020\/10\/cropped-brand_icon_white_logo-1.png?fit=6060&#038;ssl=1\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/i0.wp.com\/khanhcode.com\/wp-content\/uploads\/2020\/10\/cropped-brand_icon_white_logo-1.png?fit=6060&#038;ssl=1\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2018-05-10T02:52:00+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-12-20T03:02:46+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Memory Management - KhanhCode\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Project URL: https:\/\/github.com\/Insignite\/Memory-Management Computer languages often required a way to dynamically allocate memory, which means that memory is acquired while the program is running. This contrasts with static memory allocation. The project simply is a simple memory manager, which allow the user to allocate and release memory, tracking of available memory, used, and how much\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/i0.wp.com\/khanhcode.com\/wp-content\/uploads\/2020\/10\/cropped-brand_icon_white_logo-1.png?fit=6060&amp;ssl=1\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/khanhcode.com\\\/?p=431#blogposting\",\"name\":\"Memory Management - KhanhCode\",\"headline\":\"Memory Management\",\"author\":{\"@id\":\"https:\\\/\\\/khanhcode.com\\\/?author=1#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/khanhcode.com\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/khanhcode.com\\\/wp-content\\\/uploads\\\/2020\\\/12\\\/Screen-Shot-2020-12-19-at-5.38.50-PM.png?fit=575%2C321&ssl=1\",\"width\":575,\"height\":321},\"datePublished\":\"2018-05-10T02:52:00+00:00\",\"dateModified\":\"2020-12-20T03:02:46+00:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/khanhcode.com\\\/?p=431#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/khanhcode.com\\\/?p=431#webpage\"},\"articleSection\":\"Projects\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/khanhcode.com\\\/?p=431#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/khanhcode.com#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/khanhcode.com\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/khanhcode.com\\\/?cat=4#listItem\",\"name\":\"Projects\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/khanhcode.com\\\/?cat=4#listItem\",\"position\":2,\"name\":\"Projects\",\"item\":\"https:\\\/\\\/khanhcode.com\\\/?cat=4\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/khanhcode.com\\\/?p=431#listItem\",\"name\":\"Memory Management\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/khanhcode.com#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/khanhcode.com\\\/?p=431#listItem\",\"position\":3,\"name\":\"Memory Management\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/khanhcode.com\\\/?cat=4#listItem\",\"name\":\"Projects\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/khanhcode.com\\\/#organization\",\"name\":\"KhanhCode\",\"url\":\"https:\\\/\\\/khanhcode.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/khanhcode.com\\\/wp-content\\\/uploads\\\/2020\\\/10\\\/cropped-brand_icon_white_logo-1.png?fit=60%2C60&ssl=1\",\"@id\":\"https:\\\/\\\/khanhcode.com\\\/?p=431\\\/#organizationLogo\",\"width\":60,\"height\":60},\"image\":{\"@id\":\"https:\\\/\\\/khanhcode.com\\\/?p=431\\\/#organizationLogo\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/khanhcode.com\\\/?author=1#author\",\"url\":\"https:\\\/\\\/khanhcode.com\\\/?author=1\",\"name\":\"Insignite\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/khanhcode.com\\\/?p=431#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/9c2a15033de1d737b445109663fc0aaf37b5c8542bef286899b61777880327be?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Insignite\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/khanhcode.com\\\/?p=431#webpage\",\"url\":\"https:\\\/\\\/khanhcode.com\\\/?p=431\",\"name\":\"Memory Management - KhanhCode\",\"description\":\"Project URL: https:\\\/\\\/github.com\\\/Insignite\\\/Memory-Management Computer languages often required a way to dynamically allocate memory, which means that memory is acquired while the program is running. This contrasts with static memory allocation. The project simply is a simple memory manager, which allow the user to allocate and release memory, tracking of available memory, used, and how much\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/khanhcode.com\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/khanhcode.com\\\/?p=431#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/khanhcode.com\\\/?author=1#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/khanhcode.com\\\/?author=1#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/khanhcode.com\\\/wp-content\\\/uploads\\\/2020\\\/12\\\/Screen-Shot-2020-12-19-at-5.38.50-PM.png?fit=575%2C321&ssl=1\",\"@id\":\"https:\\\/\\\/khanhcode.com\\\/?p=431\\\/#mainImage\",\"width\":575,\"height\":321},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/khanhcode.com\\\/?p=431#mainImage\"},\"datePublished\":\"2018-05-10T02:52:00+00:00\",\"dateModified\":\"2020-12-20T03:02:46+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/khanhcode.com\\\/#website\",\"url\":\"https:\\\/\\\/khanhcode.com\\\/\",\"name\":\"KhanhCode\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/khanhcode.com\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Memory Management - KhanhCode","description":"Project URL: https:\/\/github.com\/Insignite\/Memory-Management Computer languages often required a way to dynamically allocate memory, which means that memory is acquired while the program is running. This contrasts with static memory allocation. The project simply is a simple memory manager, which allow the user to allocate and release memory, tracking of available memory, used, and how much","canonical_url":"https:\/\/khanhcode.com\/?p=431","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/khanhcode.com\/?p=431#blogposting","name":"Memory Management - KhanhCode","headline":"Memory Management","author":{"@id":"https:\/\/khanhcode.com\/?author=1#author"},"publisher":{"@id":"https:\/\/khanhcode.com\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/i0.wp.com\/khanhcode.com\/wp-content\/uploads\/2020\/12\/Screen-Shot-2020-12-19-at-5.38.50-PM.png?fit=575%2C321&ssl=1","width":575,"height":321},"datePublished":"2018-05-10T02:52:00+00:00","dateModified":"2020-12-20T03:02:46+00:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/khanhcode.com\/?p=431#webpage"},"isPartOf":{"@id":"https:\/\/khanhcode.com\/?p=431#webpage"},"articleSection":"Projects"},{"@type":"BreadcrumbList","@id":"https:\/\/khanhcode.com\/?p=431#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/khanhcode.com#listItem","position":1,"name":"Home","item":"https:\/\/khanhcode.com","nextItem":{"@type":"ListItem","@id":"https:\/\/khanhcode.com\/?cat=4#listItem","name":"Projects"}},{"@type":"ListItem","@id":"https:\/\/khanhcode.com\/?cat=4#listItem","position":2,"name":"Projects","item":"https:\/\/khanhcode.com\/?cat=4","nextItem":{"@type":"ListItem","@id":"https:\/\/khanhcode.com\/?p=431#listItem","name":"Memory Management"},"previousItem":{"@type":"ListItem","@id":"https:\/\/khanhcode.com#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/khanhcode.com\/?p=431#listItem","position":3,"name":"Memory Management","previousItem":{"@type":"ListItem","@id":"https:\/\/khanhcode.com\/?cat=4#listItem","name":"Projects"}}]},{"@type":"Organization","@id":"https:\/\/khanhcode.com\/#organization","name":"KhanhCode","url":"https:\/\/khanhcode.com\/","logo":{"@type":"ImageObject","url":"https:\/\/i0.wp.com\/khanhcode.com\/wp-content\/uploads\/2020\/10\/cropped-brand_icon_white_logo-1.png?fit=60%2C60&ssl=1","@id":"https:\/\/khanhcode.com\/?p=431\/#organizationLogo","width":60,"height":60},"image":{"@id":"https:\/\/khanhcode.com\/?p=431\/#organizationLogo"}},{"@type":"Person","@id":"https:\/\/khanhcode.com\/?author=1#author","url":"https:\/\/khanhcode.com\/?author=1","name":"Insignite","image":{"@type":"ImageObject","@id":"https:\/\/khanhcode.com\/?p=431#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/9c2a15033de1d737b445109663fc0aaf37b5c8542bef286899b61777880327be?s=96&d=mm&r=g","width":96,"height":96,"caption":"Insignite"}},{"@type":"WebPage","@id":"https:\/\/khanhcode.com\/?p=431#webpage","url":"https:\/\/khanhcode.com\/?p=431","name":"Memory Management - KhanhCode","description":"Project URL: https:\/\/github.com\/Insignite\/Memory-Management Computer languages often required a way to dynamically allocate memory, which means that memory is acquired while the program is running. This contrasts with static memory allocation. The project simply is a simple memory manager, which allow the user to allocate and release memory, tracking of available memory, used, and how much","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/khanhcode.com\/#website"},"breadcrumb":{"@id":"https:\/\/khanhcode.com\/?p=431#breadcrumblist"},"author":{"@id":"https:\/\/khanhcode.com\/?author=1#author"},"creator":{"@id":"https:\/\/khanhcode.com\/?author=1#author"},"image":{"@type":"ImageObject","url":"https:\/\/i0.wp.com\/khanhcode.com\/wp-content\/uploads\/2020\/12\/Screen-Shot-2020-12-19-at-5.38.50-PM.png?fit=575%2C321&ssl=1","@id":"https:\/\/khanhcode.com\/?p=431\/#mainImage","width":575,"height":321},"primaryImageOfPage":{"@id":"https:\/\/khanhcode.com\/?p=431#mainImage"},"datePublished":"2018-05-10T02:52:00+00:00","dateModified":"2020-12-20T03:02:46+00:00"},{"@type":"WebSite","@id":"https:\/\/khanhcode.com\/#website","url":"https:\/\/khanhcode.com\/","name":"KhanhCode","inLanguage":"en-US","publisher":{"@id":"https:\/\/khanhcode.com\/#organization"}}]},"og:locale":"en_US","og:site_name":"KhanhCode -","og:type":"article","og:title":"Memory Management - KhanhCode","og:description":"Project URL: https:\/\/github.com\/Insignite\/Memory-Management Computer languages often required a way to dynamically allocate memory, which means that memory is acquired while the program is running. This contrasts with static memory allocation. The project simply is a simple memory manager, which allow the user to allocate and release memory, tracking of available memory, used, and how much","og:url":"https:\/\/khanhcode.com\/?p=431","og:image":"https:\/\/i0.wp.com\/khanhcode.com\/wp-content\/uploads\/2020\/10\/cropped-brand_icon_white_logo-1.png?fit=6060&#038;ssl=1","og:image:secure_url":"https:\/\/i0.wp.com\/khanhcode.com\/wp-content\/uploads\/2020\/10\/cropped-brand_icon_white_logo-1.png?fit=6060&#038;ssl=1","article:published_time":"2018-05-10T02:52:00+00:00","article:modified_time":"2020-12-20T03:02:46+00:00","twitter:card":"summary_large_image","twitter:title":"Memory Management - KhanhCode","twitter:description":"Project URL: https:\/\/github.com\/Insignite\/Memory-Management Computer languages often required a way to dynamically allocate memory, which means that memory is acquired while the program is running. This contrasts with static memory allocation. The project simply is a simple memory manager, which allow the user to allocate and release memory, tracking of available memory, used, and how much","twitter:image":"https:\/\/i0.wp.com\/khanhcode.com\/wp-content\/uploads\/2020\/10\/cropped-brand_icon_white_logo-1.png?fit=6060&ssl=1"},"aioseo_meta_data":{"post_id":"431","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2023-10-04 09:21:56","updated":"2025-06-04 03:55:25","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/khanhcode.com\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/khanhcode.com\/?cat=4\" title=\"Projects\">Projects<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tMemory Management\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/khanhcode.com"},{"label":"Projects","link":"https:\/\/khanhcode.com\/?cat=4"},{"label":"Memory Management","link":"https:\/\/khanhcode.com\/?p=431"}],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/khanhcode.com\/wp-content\/uploads\/2020\/12\/Screen-Shot-2020-12-19-at-5.38.50-PM.png?fit=575%2C321&ssl=1","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/khanhcode.com\/index.php?rest_route=\/wp\/v2\/posts\/431","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/khanhcode.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/khanhcode.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/khanhcode.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/khanhcode.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=431"}],"version-history":[{"count":1,"href":"https:\/\/khanhcode.com\/index.php?rest_route=\/wp\/v2\/posts\/431\/revisions"}],"predecessor-version":[{"id":433,"href":"https:\/\/khanhcode.com\/index.php?rest_route=\/wp\/v2\/posts\/431\/revisions\/433"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/khanhcode.com\/index.php?rest_route=\/wp\/v2\/media\/432"}],"wp:attachment":[{"href":"https:\/\/khanhcode.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=431"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/khanhcode.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=431"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/khanhcode.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=431"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}