OufOfMemory problem

5 posts, 1 answers
  1. Kevin
    Kevin avatar
    3 posts
    Member since:
    Feb 2008

    Posted 11 Feb 2008 Link to this post

    Hello,

    I'm using the Ribbonbar in my application (Q4 2006 version from VS Express Registration Benefits) on the mainform, which has now many tabs, buttons and other elements on its ribbon.
    Using Visual Studio 2008 Pro, the form of my program opened in 1 minute, but after a full reinstallation of my system (Windows Vista Professionnal, 32 bits), I cannot open the mainform of my program anymore.

    Whenever I try to open it with Visual Studio 2008, it tries to load it during 5 minutes, with Commit memory constantly increasing up to 1.1 Gb (as shown in Vista's Resources Monitor), and then VS shows an error saying "System.OutOfMemoryException", thrown on a random component in my form.

    It seems that there is a memory leak with the designer and the radribbon when it has many items, but I don't know why I could open my project without any problem before and now I can't.

    Do you know how I could open my project again ?
    Language is C#.

    Thank you.
  2. Vassil Petev
    Admin
    Vassil Petev avatar
    1765 posts

    Posted 12 Feb 2008 Link to this post

    Hi Kevin,

    Thank you for your question.

    Could you give us more details on the reinstall process? Did you switch from XP to Vista by using the Vista upgrade option, or did you do a clean installation of Vista?

    Also, was your project created under VS2008, or did you convert it from VS2005? If this is the case, it is possible that the project got broken.

    At any rate, we are not sure that the ribbon is at fault in this case. Here a couple of things I will suggest trying:
    1. Try to build your form with the ribbon from scratch. If all works, then it may be best to redo the form;
    2. If #1 does not work, please download the latest version of the Ribbon (Q3 2007 SP1, trial) and try with it. Although we have tested the Ribbon under VS2008, we will test your case once again with many tabs and elements.

    We will be happy to get more information on the problem so that we can tackle it, if it is connected to our product.


    Greetings,
    Vassil
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Kevin
    Kevin avatar
    3 posts
    Member since:
    Feb 2008

    Posted 12 Feb 2008 Link to this post

    Hi,

    Here are more details, as after uninstalling and reinstalling VS2008 the problem is the same :
    I did a clean installation of Vista and my project was converted from VS2005.

    The strange thing is that I was able to open it many times with VS2008 before the full reinstallation (I was also on Vista 32bits with a clean install).
    However, I can open some small radribbon samples I found on the forum.

    Now the main problem is that my ribbon has so many elements, building it from scratch may be quite long. Maybe I should try Q3 2007 SP1 trial before, until it is released with Registration Benefits.

    Thank you.
  5. Kevin
    Kevin avatar
    3 posts
    Member since:
    Feb 2008

    Posted 13 Feb 2008 Link to this post

    Hello,

    I finally found my problem, and it came from another dll (not used in the designer, as it is not a component for Win Forms) which VS2008 is trying to load a lot of times, so the form would never appear correctly. Sorry for the inconvenience.

    Thank you for your help.
  6. Answer
    Vassil Petev
    Admin
    Vassil Petev avatar
    1765 posts

    Posted 14 Feb 2008 Link to this post

    We are glad that you were able to sort out the problem, Kevin. Thank you for sharing your findings with us.

    We will be happy to address any other questions you may have.


    Best wishes,
    Vassil
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top
UI for WinForms is Visual Studio 2017 Ready