memory leaks, threads,etc
hi everyone. im about finished with a project but wanted to ask a question. the program ive created will need to run for 3-7 days with out be restarted. im worried about memory leaks and anything else that might occur. to view what my program is using ive opened windows task manager. these are the reading i get:
CPU: between 0 and 2
working set(memory) about 29,596 - 29,600k
memory(private working set) about 8756 k
commit size about 24,608 k
paged pool: 285k
Handles 260
threads between 12-14
IO reads and writes appear to continue to grow now at 975 and 720 respectivily
2 question, first does this look ok (is my program using to much memory, etc) and secondly why does the thread say 12-14? i thought the program is one thread plus i have a second thread running in the background so shouldnt that be just 2 then?
(the program is an sms sender. it sends and recieves sms's, databases them, and sends out responses based on what the txt msg is).
thanks,
jason
Re: memory leaks, threads,etc
The memory looks reasonable to me, and I wouldn't think that a count of reads and writes would be at all significant for this type of program. I don't know why the threads are that high, but I also don't know whether the metric is meaningful. If the number is steadily rising, that would definitely make me think that a thread is not being disposed correctly, but if it stays steady, I wouldn't worry about it.