We have a requirement to generate reports automatically on schedule basis through WCFService hosted in IIS. The report is created using ActiveReports. Previously, we were generating report through a windows application in our machine. The issue that we are currently encountering is out of memory exception. When we try to run 2MB reports, it works fine but when we try to run 4MB reports, it is not processing. It throws out of memory exception. Our server has 4GB RAM, 8GB virtual memory and windows7 OS. Please advice us on how to solve this issue.
Memory Issue in IIS WCF Service when creating reports using ActiveReports
459 Views Asked by varun At
1
There are 1 best solutions below
Related Questions in WCF
- couldn't copy pdb file to another directory while consuming wcf web service
- Call wcf from android app
- WCF Service not accepting multiple body parameters
- Error in Calling some service in WCF Client
- WCF channel Factory caching
- How to convert a List<string> to an IEnumerable<ServiceReference.datatable> C# Silverlight WCF RIA Services LINQ to SQL
- WCF reusing types with inheritance - cannot generate client code
- System.ServiceModel.FaultException'1' Where might the error be?
- How to configure proxy address for multiple WCF-bindings at once?
- How pass XML from PHP to the Soap WCF service?
- Multiple service contract inter-commnication
- WCF Service not returning virtual property ServiceProvider
- How to get information about error from HttpContext in WCF services
- Using Service Bus to access On Premise WCF Service
- Test case for WCF REST Service
Related Questions in IIS
- Create an IIS web request activity light
- Why web API return 404 when deploy to IIS
- Adding site Binding programmatically IIS 7.5
- .net Web Api 2 Owin authentication token expires suddenly and often on IIS 8.5
- Redirecting subdomain to directory on Azure
- Saving Image To a Temp Folder is Loosing Session
- The page cannot be displayed because an internal server error has occurred on server
- Approach for performing long running tasks in .NET
- Why does IIS Anonymous Authentication turn on by itself after I publish my project to server?
- IIS 7 ERR_CONNECTION_TIMED_OUT only with public IP
- Maximum value for IIS .NET Compilation Batch Time-out
- ASP.Net 1.1 app on IIS 7 waiting threads
- File upload web api 2.0 error after deployment on IIS 8.5
- nginx and IIS - dealing with invalid hostname and SSL
- Allow console application to access Windows Authenticated web app
Related Questions in ACTIVEREPORTS
- Show mutltiple tables seperated by page breaks using Active Reports, C# and SQL Server
- Active Reports - Find out what page a control is on before the final print
- Data for some bound fields not appearing on report
- Activereports is removing the last subreport
- Language not supported in Active Reports
- Grow a Section of Section report by the content height
- An exception "A generic error occured in GDI+" when generating reports using ActiveReports
- How to improve performance of active report in c#
- Active Reports - C# Creating Page Header Column Name based on table values
- Active Report how to page break when dynamically add control to the page during report Start Event?
- Active Reports (Page Reports) Multiple Tables
- Null parameter in sub report causes sub-sub report to fail
- ActiveReport Truncate A Text
- Treat only part of a textbox as a hyperlink on Active Reports
- How to merge 2 rows table in ActiveReports 7
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Obviously if you have the available memory and the report is really 2-4MB then the report will run. I suspect the report is much more than the 2-4MB in memory or the machine doesn't have much memory available. A good way to see what is going on is run a memory profiler like Ants or dotTrace. Keep in mind that in addition to the data you're going to load for the report, any images or content in the pages of the report will also be in memory. And if you export it to another format like PDF, there will be some additional overhead to hold that PDF in memory.
Also, we now offer ActiveReports Server too which has built in scheduling and web services for requesting reports in a specific format (implemented via WCF obviously). It will deal with scalability by automatically queuing, caching, and load balancing report executions as needed. You can also upload your ActiveReports .rpx reports from the Developer Edition and get up and running right away. Just make sure all the code for your report is self-contained in the .rpx (script).