Memory/Handle leak in my code
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Memory/Handle leak in my code

Threaded View

  1. #1
    Join Date
    Jan 2013
    Posts
    2

    Memory/Handle leak in my code

    Hey, I made a simple multi-threaded program for something, and am having issues with a memory leak and a handle leak..

    Anyone have an idea on how to solve it?

    After about 40000 runs, it starts eating up so much memory my system bogs down, and the GC.Collect() I put in doesn't seem to do anything

    Note that I removed a few strings from the code.

    Thanks!

    Code:
    [ Source code for dictionary-based webserver attack redacted by moderator ]
    Last edited by BioPhysEngr; January 3rd, 2013 at 06:12 PM. Reason: redact code
    Share on Google+

Posting Permissions

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


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center