Marvee Amasi
Marvee Amasi
DIIDevHeads IoT Integration Server
Created by Marvee Amasi on 6/14/2024 in #middleware-and-os
Understanding Anonymous Inode 0 Entries in /proc/pid/maps for Memory Usage in Embedded Linux
I'm investigating memory usage in my embedded Linux application using /proc/pid/maps. I'm confused by the entries with anonymous inode 0 in the perms column in particular. Seem to be some of the larger memory segments. Take a look :
...
addr end perms offset dev id size flags name
...
f0000000-f0fffffff rw-p 0 0 0 1048576 anonvma [heap]
...
...
addr end perms offset dev id size flags name
...
f0000000-f0fffffff rw-p 0 0 0 1048576 anonvma [heap]
...
What does anonymous inode 0 entries mean? How does it contribute to my application's memory usage? @Middleware & OS
6 replies