memory leaks, threads,etc

Status
Not open for further replies.

dreamdelerium

Active member
Joined
Mar 7, 2008
Messages
36
Programming Experience
1-3
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
 
Hello.

Thats like asking "Does this car go fast with 80mph?" - "What car?" - "One with a gas motor in it!"

It's hard to say if it has memory leaks in it with out seeing the code and with only one snapshot of memory usage...I'd suggest that you just let it run for 5 - 7 days and see yourself.

About the question with the treads...hard to say, who knows where the Framework does start new threads? My Application is using 10 threads...but I have a database connection in the background and some other classes (which are also not using threads).

Bobby
 
Status
Not open for further replies.

Similar threads

Back
Top