DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: 'IIS4 MemoryLeak'

  1. #1
    Join Date
    Aug 2004

    'IIS4 MemoryLeak'

    [Originally posted by Snapper]


    I have a serious memoryleak problem in an ASP website running on IIS4 NT4 system. For some reason the inetinfo.exe uses more and more memory it finaly craped up the server. since then we restart the server every 2-4 days. does anyone have a clue how to monitor what is happenig on the server (ie objects,sessions,applicatio-object etc)? Does anyone know what could be a reason for the fact that it doesn't free up the used memory? It would be great to hear from u.

    cu Snapper

  2. #2
    Join Date
    Aug 2004

    Re: 'IIS4 MemoryLeak'

    [Originally posted by m.posseth@work]

    the below link shows you how to troubleshoot this problem

  3. #3
    Join Date
    Aug 2004

    Re: 'IIS4 MemoryLeak'

    [Originally posted by Marty]

    There could be a ton of reasons. You need to look through your global.asa and your ASP code for any server side objects that arean't behaving nicely. Always set the object = Nothing on your server side code when you're done with it. Also, try NOT to store references to objects in Session() or Application() variables. It is especially important not to reference VB objects like this. Since they're single threaded (yes, apartment threading is still single threaded), it will force the user to reuse the same IIS thread, which can create severe bottlenecks.

    Good Luck,


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center