views:

19

answers:

1

Any tips How to figure out where is memory leak in my Facebook app, its ASPX using Facebook toolkit DLL and I am afraid the bug may be in that CS library.

The problem is that after one week uptime, server is running out of memory and needs to be rebooted, there are quite many users and I cannot run debugger on this "production server", so I would need to simulate somehow use on my local PC.

+1  A: 

Try taking a dump (sorry for my phrasing) of the application.

There are some tips on this blog on how to do it, and how to read the dump files.

Then you can see which objects are allocated, and which ones prevent garbage collecting.

Snake