Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Memory leak

  1. #1

    Default Memory leak

    Hi all,

    I downloaded and compiled inSSIDer 2.1.1.1386, which appears to be the latest code available,
    and it leaks memory at a rate of 20 MB an hour or so.

    Please advise - is there a fix for that?

    Thank you,
    Any help is appreciated,

    Gene

  2. #2

    Default

    Hello namsaray,

    Thank you for your post. We are aware of this issue and are working to fix it. Is there anything else you have noticed or any suggestions you might have on improving inSSIDer?

    Regards,
    Stephen

  3. #3

    Default

    Where exactly can I get this source code ?

    and what's the best recomended freeware compiler ?

    cheers

  4. #4

    Default Thank you for answering

    Thank you for answering.

    I found a work around in my console application that I just added to your solution.

    I do "scan.Cache.Clear();" after I process data when
    "ScannerScanComplete" event fires.

    This gets rid of the memory leak completely.

    Also, I need your help with something else:
    we're getting
    "Method not found: 'Int32 System.Threading.WaitHandle.WaitAny(System.Threadi ng..."
    error on our Windows embedded systems. Installing service pack 1 for .NET Framework 3.5
    makes it go away, but we can't install it - those are production machines out in the field, they
    don't have enough free space.

    Can you suggest anything for us to try?

    We spent 3 weeks on this already, and I'm just going out of my mind.

    Thank you,

    Regards,
    Gene

  5. #5

    Default

    Quote Originally Posted by namsaray View Post
    Also, I need your help with something else:
    we're getting
    "Method not found: 'Int32 System.Threading.WaitHandle.WaitAny(System.Threadi ng..."
    error on our Windows embedded systems. Installing service pack 1 for .NET Framework 3.5
    makes it go away, but we can't install it - those are production machines out in the field, they
    don't have enough free space.
    Have you tried changing the WaitAny(WaitHandle[], Int32) to WaitAny(WaitHandle[], Int32, boolean) and set the last parameter to false?

  6. #6

    Default

    That worked - thank you very much.

    What a relief.

    Thank you again, especially for making the results of your efforts available to public.

    Gene

  7. #7

    Default

    namesaray,

    Glad you could get it resolved

    -------------------------

    mayim,

    You can get the source code at https://github.com/metageek-llc/inSSIDer-2

    Stephen

  8. #8

    Default

    Hi Stephen,

    Another question (looks like the last one):

    How is the default interface to start scanning is persisted?
    I need to specify an interface, so that the program would automatically start scanning. Here's the code that does that:

    Code:
    NetworkInterface netInterface = InterfaceManager.Instance.LastInterface;
    if (netInterface != null)
    {
        Debug.WriteLine("We have a last interface, start scanning with it.");
        //Set the interface
        scanner.Interface = netInterface;
        if (Settings.Default.scanLastEnabled)
        scanner.StartScanning();
    }
    But where was that "LastInterface" saved?
    How do I specify my own?

    Any help is appreciated,

    Thank you,

    Gene
    Last edited by Tyler; 03-29-2012 at 06:25 PM. Reason: Put code in code tag

  9. #9

    Default

    Gene,

    This is more of a question for Tyler. Currently, I am interning for MetaGeek and I am beginning my Computer Science degree. As much as I would love to help you, I am not near far enough into my degree, nor have I spent enough time in the inSSIDer code to be able to answer this for you.

    Stephen

  10. #10

    Default

    Hopefully Tyler will answer then, right?
    Or do I have to re-post this question, or post it some place else?

    Gene

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

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