05-05-2006 11:35 AM
05-08-2006 07:11 PM
05-09-2006 09:16 AM
Thanks for the note. I also have a service request in on this and am supposed to hear back today. (SRQ #809591 with Mike).
I haven't dug thru the NI-DAQmx Base to see if the actual DMA allocation is in the kernel or in the user space. The RLP invoke node is a user space client calling into the Register Level Program in the kernel driver. The program has now been running again (with smaller number of samples on each cycle) since 10:51 AM EDT on 5/5.
Here is the output from "top -uw". If either the kernel or LabVIEW is leaking memory it is not doing it very fast! But even 80kb/cycle should show up as 80 Mbytes after 20 minutes (1000 cycles). The smaller # of samples should be about 50 kbytes for a buffer. So if it is leaking then it is not leaking the entire buffer. It may be that the DMA engine just can not get enough contiguous memory? Don't know, that is why you guys are the experts!! If there is anything else I can give you to help track this down, please let me know.
Processes: 61 total, 2 running, 59 sleeping... 227 threads 10:01:58
Load Avg: 0.56, 0.65, 0.84 CPU usage: 24.2% user, 24.2% sys, 51.6% idle
SharedLibs: num = 178, resident = 39.9M code, 3.59M data, 16.2M LinkEdit
MemRegions: num = 8413, resident = 171M + 10.3M private, 88.0M shared
PhysMem: 115M wired, 298M active, 843M inactive, 1.23G used, 22.7M free
VM: 4.43G + 107M 50874(0) pageins, 1956(0) pageouts
PID | COMMAND | %CPU | TIME | #TH | #PRTS(delta) | #MREGS | VPRVT | RPRVT(delta) | RSHRD(delta) | RSIZE(delta) | VSIZE(delta) |
---|---|---|---|---|---|---|---|---|---|---|---|
17313 | LabVIEW | 48.6% | 156 hrs | 29 | 205 | 668 | 100M | 60.7M(68K) | 42.4M(-68K) | 65.2M | 247M |
6453 | top | 15.4% | 3:24.61 | 1 | 20 | 23 | 26.2M | 1.29M | 456K | 1.71M | 26.9M |
68 | WindowServ | 9.0% | 19:03:23 | 4 | 260(-1) | 353 | 57.2M | 4.24M(4K) | 19.8M(-4K) | 19.7M | 122M |
0 | kernel_tas | 3.4% | 11:05:15 | 44 | 2 | 3615 | 46.1M | 27.2M | 0K | 93.0M(-4K) | 970M(-4K) |
327 | SystemUISe | 1.5% | 4:20:13 | 3 | 223 | 251 | 33.8M | 5.00M | 11.1M | 7.95M | 136M |
05-10-2006 04:35 PM
05-25-2006 05:08 PM
06-05-2006 06:03 PM
06-05-2006 06:04 PM
10-30-2006 09:55 AM
10-30-2006 10:58 AM
10-30-2006 11:02 AM