Introduction - If you have any usage issues, please Google them yourself
The functions malloc() and free() are frequently used when we use the C language. Howerver, coders might forget to release the dynamic memory allocated via malloc() sometimes. I have designed the data structure(or a simple class)--ObjectManager in order to solve this problem. ObjectManager has provided 3 core functions objmgr_malloc() and objmgr_free() and objmgr_show_mem_info() to manage and display the dynamic memory. Here, objmgr_malloc() allocates dynamic by byte and keeps the related info as a record, objmgr_free() releases the dynamic memory and deletes the related record,while objmgr_show_mem_info() displays on the console the dynamic memory information.