SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Apr 2005
    Location
    California,USA
    Posts
    25
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Detecting Memory Leaks

    How can memory leaks be detected? Are there any tools to detect them and if there are can you suggest me the best tool to test for memory leaks?
    The reason I was asking for this is, in our company all the applications are accessed from MetaFrame Secure Access Manager (MSAM). Some of our web applications accessed from this MSAM portal are having problems like freezing IE etc. We find no problems with our web applications and so we suspect that this problem is due to some unknown issue or a bug or a memory leak in the MSAM portal.
    Thanks a lot in advance. Any feed back in this regard is highly appreciated.
    Thank You,
    WenAppTesting

  2. #2
    Senior Member
    Join Date
    Jan 2005
    Location
    Aurora, Ont., Canada
    Posts
    1,174
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Detecting Memory Leaks

    In the old days we would check the bit-bucket at the end of the shift register, but we never did find the bits that were shifted off. Similarly, I suspect that when you try to look for fragmented memory you will not find it by scanning the list of active processes or something. What you need to do is look at the run-time code generated for your software. For example, BASIC has a garbage collection process to free up string space during program execution, when required. JAVA has some similar functionality built-in. A tool used for a BASIC application would be useless for JAVA, and so on. If you use MS products you may find tools on the MS website for checking what, where, and how your memory gets consumed. You may also use a download site like ZDNet.com to locate tools that are specific to your environment. Although there are many causes for memory leaks, a common cause is that modules are called but no return is ever taken (the call stack keeps growing) or there may be a recursive process that keeps calling itself (idem), examples of bugs that lurk deep in code where it is difficult to find the cause. Analyzer logic designed for your environment will help you reason what may be executing, which is the first stage to determining why you consume memory. Your code might be calling IE in an iterative fashion until it reaches some limits and hangs. Check on the Microsoft website for debugging hints for the IE object model and refer back to your code to see if the suggestions apply to your context. You have my sympathy: these are touch bugs to isolate even if the system does not hang as a result.
    Frits Bos, PMP
    frits_bos@hotmail.com

  3. #3
    Senior Member
    Join Date
    Jan 2003
    Posts
    1,898
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Detecting Memory Leaks

    I've used Boundschecker by NuMega; there are others out there as well...

    - Linda

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 10.71%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 11:41 AM.

Copyright BetaSoft Inc.