Results 1 to 2 of 2

Thread: memory leaks, threads,etc

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Feb 2008
    Location
    Botswana
    Posts
    107

    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
    I am using Microsoft Visual Basic 2008 Express Edition. I use Access for my data base

  2. #2
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,109

    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.
    My usual boring signature: Nothing

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width