A
Antonio
Hello, here is what I am doing.
1) user accesses web page and clicks button to build report
2) web page accesses web service whose data type is DataSet
(public DataSet methodname()...)
3) web service connects to SqlServer, runs BIG report
4) data is returned to web service, web service returns DataSet to web
front-end
5) web front-end prompts user to save Excel file which contains the
DataSet data
While #3 is running, the aspnet_ws.exe process on the web server grows
big, like 200-500 MB.
The problem is the server doesn't seem to release that memory after the
report is done. A few more report runs and the server starts giving
memory errors.
I have seen people saying use GC.Collect() but where would I put that?
1) user accesses web page and clicks button to build report
2) web page accesses web service whose data type is DataSet
(public DataSet methodname()...)
3) web service connects to SqlServer, runs BIG report
4) data is returned to web service, web service returns DataSet to web
front-end
5) web front-end prompts user to save Excel file which contains the
DataSet data
While #3 is running, the aspnet_ws.exe process on the web server grows
big, like 200-500 MB.
The problem is the server doesn't seem to release that memory after the
report is done. A few more report runs and the server starts giving
memory errors.
I have seen people saying use GC.Collect() but where would I put that?