Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Not enough memory for operation

I currently have a ASP.NET web application (developed with VS.NET 2005, running on Windows Server 2003 SP2 with IIS 6.0), with functions that generate or view crystal reports (the server is installed with Crystal Report XI Release 2 SP2).

Recently we have found a problem that when crystal report is getting loaded frequently, then it will return one of these exceptions:

1) Not enough memory for operation.

2) Error in File C:\WINDOWS\TEMP\XXXXXXXXX {F00410E9-19B3-42A2-88B0-12D3DAD6B098}.rpt: The request could not be submitted for background processing.

3) Failed to open report.

After a series of investigation, I found that whenever I continously load up 110+ reports, then it will return the above exceptions. Once the above exception is returned, the only option I have is to reset the IIS!!

In my program code, I have already done report.Close() and report.Dispose() as well as GC.Collect() after finishing with the report. But it seems to me that crystal report still cannot release the memory consumption.

Can anyone advise on this? Thanks!

Former Member

I'm not sure what that tells us? Those objects will be in memory until the app is terminated or the pool is recycled. It may be that you are simply loading the box too much. Remember that the CR print engine will only handle 3 concurrent users. Subsequent requests are queued up and wait for an available license. It may be that you either need to move to a more scalable product such as the Crystal Reports Application Server, or consider webfarms. It may be a good idea to discuss this over the phone:


0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question