asp.net - Nhibernate uses a lot of memory -


i've got fluent nhibernate in application , i'm trying locate cause of high memory usage. (i high, it's 60mb, it's web app , it's not big) unfortunately looks lot of in unmanaged memory, started taking things out - , took out calls nhibernate, memory usage dropped 11mb!! why oh why taking memory? especially, why taking unmanaged memory?

i've been 'googling' day , can find posts people saying "nhibernate eats memory..." , answers "no doesn't, there's no evidence". nhibernate people in denial it?

possible reasons: nhibernate caching.

check these articles:

keep in mind "more memory usage" shouldn't "this devil". mean caching or other factors increase overall performance if machine hosting has enough resources.

you can use free profiler too, can check what's "wasting" memory - maybe it's not waste of memory proper usage performance optimization - :


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -