MVC ASP.NET is using a lot of memory

前端 未结 6 2090
谎友^
谎友^ 2021-02-14 09:53

If I just browse some pages on the app, it sits at around 500MB. Many of these pages access the database but at this point in time, I only have roughly a couple of rows each for

6条回答
  •  执笔经年
    2021-02-14 10:23

    You may need to read the data in chunks and write to the output stream. Take a look at SqlDataReader.GetBytes http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqldatareader.getbytes(v=vs.110).aspx

提交回复
热议问题