• [^] # Re: Preview de VIM 7.4

    Posté par . En réponse à la dépêche Vim fête son 20e anniversaire. Évalué à 2.

    Tu es sûr de tes chiffres? Parce qu'en démarrant Vim et utilisant l'outil de KDE pour la consommation mémoire, j'ai:

    Process 12847 - vim

    Summary

    The process vim (with pid 12847) is using approximately 3.4 MB of memory.
    It is using 3.3 MB privately, and a further 1316.0 KB that is, or could be, shared with other programs.
    Dividing up the shared memory between all the processes sharing that memory we get a reduced shared memory usage of 129.0 KB. Adding that to the private usage, we get the above mentioned total memory footprint of 3.4 MB.

    Library Usage

    The memory usage of a process is found by adding up the memory usage of each of its libraries, plus the process's own heap, stack and any other mappings.
    Private
    more
    1244 KB [heap]
    1116 KB /usr/bin/vim
    268 KB /usr/lib64/libXt.so.6.0.0
    120 KB /usr/lib64/libX11.so.6.3.0
    108 KB /usr/share/vim/vim73/lang/fr/LC_MESSAGES/vim.mo
    Shared
    more
    552 KB /lib64/libc-2.12.2.so
    300 KB /usr/lib64/libX11.so.6.3.0
    92 KB /lib64/ld-2.12.2.so
    68 KB /lib64/libncurses.so.5.7
    56 KB /usr/lib64/libICE.so.6.3.0

    Totals

    Private 3332 KB (= 1768 KB clean + 1564 KB dirty)
    Shared 1316 KB (= 1316 KB clean + 0 KB dirty)
    Rss 4648 KB (= Private + Shared)
    Pss 3461 KB (= Private + Shared/Number of Processes)
    Swap 0 KB

    « Rappelez-vous toujours que si la Gestapo avait les moyens de vous faire parler, les politiciens ont, eux, les moyens de vous faire taire. » Coluche