folks, I created an application consisting of a GTK + library and some linked list on it
and when I see the resources via htop , it looks like this:
1 [|||||||||||||||||||||| 24.4%] Tasks: 117, 163 thr; 1 running 2 [|||||||||||||||||||| 21.8%] Load average: 0.22 5.09 7.51 Mem[||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| 330/2003MB] Uptime: 6 days, 02:09:22 Swp[||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| 220/254MB] PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command 1843 rahulyud 20 0 94496 9296 5596 S 17.0 0.5 0:57.59 gnome-terminal 1118 root 20 0 41112 8556 2612 S 14.0 0.4 25h13:05 /usr/bin/X :0 -nr -verbose -auth /var/run/gdm/auth-for-gdm-ubcbQV/database -nolisten tcp vt7 3035 root 20 0 2808 1468 1056 R 5.0 0.1 0:11.30 htop 1563 rahulyud 20 0 265M 19400 6792 S 4.0 0.9 12h17:58 compiz 2594 rahulyud 20 0 373M 25064 10316 S 1.0 1.2 0:13.75 /home/rahulyudi/NetBeansProjects/mm/trunk/dist/Debug/GNU-Linux-x86/trunk
unfortunately, they are not very familiar with unix htop -things, my application works with pid 2594, but it seems that VIRT too high resource resources β 373M, thought it was 373 megabytes , am I right? Anyway, is this size normal?
What does VIRT , RES , SHR really mean? How to determine what my application memory resources are using these characters?
Thank you in advance;)
source share