This is a migrated thread and some comments may be shown as answers.

OufOfMemory problem

4 Answers 73 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
Kevin
Top achievements
Rank 1
Kevin asked on 11 Feb 2008, 04:41 PM
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.

4 Answers, 1 is accepted

Sort by
0
Vassil Petev
Telerik team
answered on 12 Feb 2008, 09:12 AM
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
0
Kevin
Top achievements
Rank 1
answered on 12 Feb 2008, 11:19 AM
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.
0
Kevin
Top achievements
Rank 1
answered on 14 Feb 2008, 12:40 AM
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.
0
Accepted
Vassil Petev
Telerik team
answered on 14 Feb 2008, 10:18 AM
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
Tags
RibbonBar
Asked by
Kevin
Top achievements
Rank 1
Answers by
Vassil Petev
Telerik team
Kevin
Top achievements
Rank 1
Share this question
or