Re: Using CSocket with CSocketFile Increases memory usage



No, but there are so many problems with CSocket and CSocketFile that it is probably a
Really Bad Idea to have used them at all, for any purpose. It sounds like you are not
successfully closing some resource. But you would be a lot better off getting rid of them
entirely. CSocket is known to be buggy, for example.
joe
On Sun, 6 Apr 2008 17:30:47 -0700 (PDT), kbpartha@xxxxxxxxx wrote:

Hello All,

I am using CSocket derived class with CSocketFile. After I run the
application for 6 hours the memory increases in Task Manager by
30000K. The messages sent per second is 30.Has anybody seen such a
issue.

Regards
Partha
Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.



Relevant Pages

  • Re: And CAsyncSocket shows the same symptoms !
    ... I can step through the loop in my code that only does the CSocket ... creation and deletion and watch the memory usage go up and up (via the ... happenning is CSocket creation and deletion. ...
    (microsoft.public.vc.language)
  • Re: CFont memory leak !?
    ... your leak is somewhere else. ... the memory will NOT increase... ... I think you are being misled by what task manager is telling you. ... on my MVP Tips site. ...
    (microsoft.public.vc.mfc)
  • Re: CFont memory leak !?
    ... the memory will NOT increase... ... but if the nPointSize is changed in a big wide range continuously, ... I think you are being misled by what task manager is telling you. ... on my MVP Tips site. ...
    (microsoft.public.vc.mfc)
  • Re: Small C# program takes up too much memory
    ... While I agree with you 100% on every technical level, the user's perception ... Users see the big number in task manager and get cranky. ... still reports a huge amount of memory, and the users perception then is that ... Chris Mullins, MCSD.NET, MCPD:Enterprise, Microsoft C# MVP ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Memory usage of my application
    ... leaks also very less. ... But In task manager my application is eating too much of memory usage. ... I wouldn't trust task manager numbers of memory size for anything I cared about. ... MVP Tips: http://www.flounder.com/mvp_tips.htm ...
    (microsoft.public.vc.mfc)

Loading