3

I've got a problem.

My ASP.NET MVC project takes 9 MB RAM on localhost (tested at ants memory profiler) but at hosting (on server) takes about 400 MB while loading. Then about 150 MB RAM. Why omg? It is single page. www.algoritmem.cz

I am using entity framework for connecting to MSSQL 2014 database. The database is empty. There arent any data. Just tables.

Mr. Robot
  • 575
  • 2
  • 6
  • 19
  • I would suggest to you to check few things [here](https://support.microsoft.com/en-us/kb/893660). It might applicable to you. – jtabuloc Jul 21 '15 at 16:36
  • http://stackoverflow.com/a/24789260/3514288 – Oğuzhan Soykan Jul 21 '15 at 17:13
  • didn't help. btw. i had 'debug=false' – Mr. Robot Jul 21 '15 at 17:19
  • Why do you think it's using that much memory? Is it an issue? – Aron Jul 22 '15 at 00:47
  • I have no idea why it's using that much memory. It's extremely lightweight so i think it's an issue. – Mr. Robot Jul 22 '15 at 09:51
  • What makes you THINK it is using that much memory? – Aron Jul 22 '15 at 09:52
  • I said I have no idea. The page is only showing one single View. In controller is just `return View()` – Mr. Robot Jul 22 '15 at 14:36
  • 1
    Looks like a configuration problem : you could start by checking the application pool parameters. another possible issue is session usage : you could disable SessionState all together (if it's not critical for your app). Another solution would be to deploy your app to a local/LAN instance of IIS, checking if the memory usage is the same, and if you get the same problem, try debugging using IIS (attach debugg to IIS instance or to a remote debugger). – M0-3E Aug 12 '15 at 17:29

0 Answers0