Crystal Reports causing memory problems for Visual Studio 2008

Posted on 2009-04-29
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?
Question by:JimmyJI
    LVL 100

    Expert Comment

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


    Author Comment

    Hmmm...I'm not quite sure what you mean. Are you asking if they have data saved at design time?

    Accepted Solution

    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:

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Join & Write a Comment

    IP addresses can be stored in a database in any of several ways.  These ways may vary based on the volume of the data.  I was dealing with quite a large amount of data for user authentication purpose, and needed a way to minimize the storage.   …
    This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    754 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

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now