Memory problem with WorkerThread
-
Hello guys, I am frequently using one WorkerThread in my application. It is starting using AfxBeginThread() function. When I run application from within IDE, debug window is also not showing any memory leake. But when I run this application in Windows NT, its task manager shows memory usage going on increasing by time in chunk of 4 KB. Can anybody show me the way to control this memory wastage. Thanking You, C.R.Naik
-
Hello guys, I am frequently using one WorkerThread in my application. It is starting using AfxBeginThread() function. When I run application from within IDE, debug window is also not showing any memory leake. But when I run this application in Windows NT, its task manager shows memory usage going on increasing by time in chunk of 4 KB. Can anybody show me the way to control this memory wastage. Thanking You, C.R.Naik
-
There are several possible reasons. One reason is that the threads do not terminate correctly. Another reason is that the process does not deallocate memory correctly. Kuphryn