hello everybody, When i make run cross-link program, i don't understand why there is a leak memory. After looking the cross-link code, i think the problem comes from rt_dev_write().
I observe the leak memory by the command *'top'* in linux terminal. i wait the *used memory* to be stable, and then i launch the cross-link program Here, i copy the screen of my computer after the command *'top'*, the *used memory* don't stop to increase constantly. I believe that i run any other programs. top - 12:04:23 up 43 min, 4 users, load average: 0.01, 0.02, 0.05 Tasks: 119 total, 1 running, 118 sleeping, 0 stopped, 0 zombie Cpu(s): 6.7%us, 21.7%sy, 0.0%ni, 71.7%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st *Mem: 949708k total, 595568k used, 354140k free*, 18572k buffers Swap: 1873916k total, 0k used, 1873916k free, 367128k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 1329 root 20 0 163m 74m 6720 S 11.0 8.1 1:16.19 Xorg 2007 giang 20 0 209m 15m 10m S 4.7 1.7 0:12.21 gnome-terminal 1 root 20 0 8404 764 636 S 0.0 0.1 0:03.36 init 2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd 3 root 20 0 0 0 0 S 0.0 0.0 0:00.03 ksoftirqd/0 6 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0 7 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 cpuset 8 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 khelper 9 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 netns 10 root 20 0 0 0 0 S 0.0 0.0 0:00.00 sync_supers Thanks, my configuration is Debian6.04, linux 2.6.38, xenomai 2.6.
_______________________________________________ Xenomai-core mailing list Xenomai-core@gna.org https://mail.gna.org/listinfo/xenomai-core