Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Crystal Reports causing memory problems for Visual Studio 2008

Posted on 2009-04-29
4
Medium Priority
?
688 Views
Last Modified: 2013-11-26
I've been having some issues with running out of memory when compiling Crystal reports. The error is: "Unexpected error writing metadata to file...'Not enough storage is available to complete this operation.' "

My solution is broken up into different projects, with all of the Crystals reports in their own project.  It is this particular project that is causing the complier to error out. I only have about 30 reports in the in the Crystal Reports project and I also have plenty of memory on my computer...not even using all of it.

I'm using Visual Studio 2008 with the bundled Crystal Reports 10.

I can compile if I restart Visual Studio, but it's such a waste of time to have to restart VS several times a day. Any ideas about how to fix this?
0
Comment
Question by:JimmyJI
  • 2
3 Comments
 
LVL 101

Expert Comment

by:mlmcc
ID: 24264676
Do the reports have the data saved with them?
I believe that is the defaut settiing.  You can change it through the Crystal options.

mlmcc
0
 

Author Comment

by:JimmyJI
ID: 24318723
Hmmm...I'm not quite sure what you mean. Are you asking if they have data saved at design time?
0
 

Accepted Solution

by:
JimmyJI earned 0 total points
ID: 25197434
Turns out that the problem was NOT Crystal reports. Visual Studio 2008 fragments the memory it uses to compile, which was why, after compiling my project a few times, I was getting: "Unexpected error writing metadata to file...'Not enough storage is available to complete this operation.' "

Fortunately, JetBrains (which makes Resharper) has a free wrapper for VS that takes care of this problem. Here is the link:

http://www.jetbrains.net/confluence/display/ReSharper/OutOfMemoryException+Fix
0

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…

578 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question