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

GridView in WPF windows application throws Unknown build error, 'Exception of type 'System.OutOfMemoryException' was thrown.'

1 Answer 37 Views
GridView
This is a migrated thread and some comments may be shown as answers.
jayanthi
Top achievements
Rank 1
jayanthi asked on 20 Apr 2010, 01:10 PM
HI,

    
I am one of the users of telerik controls. Using trial version of WPF telerik Controls. I am  facing some issues in using these controls.

1). I am using Telerik RadGridView control in my WPF windows application its take long time to load the page.

2). I am getting this error "Unknown build error, 'Exception of type 'System.OutOfMemoryException' was thrown."  if i build the application N number of times. Examining the task manager its showing my VS IDE is taking much memory. Once if I close my IDE and then reopens it works fine again.
And the same thing repeats if I build my application many times again.

Can any one help me out with what is the root cause of this issue?
As all my other WPF applications without this rad controls are working fine.

Error 1 Unknown build error, 'Exception of type 'System.OutOfMemoryException' was thrown.'

Error 2 The "ResourcesGenerator" task failed unexpectedly.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.IO.MemoryStream.set_Capacity(Int32 value)
   at System.IO.MemoryStream.EnsureCapacity(Int32 value)
   at System.IO.MemoryStream.Write(Byte[] buffer, Int32 offset, Int32 count)
   at System.IO.BinaryWriter.Write(Byte[] buffer, Int32 index, Int32 count)
   at System.Resources.ResourceWriter.WriteValue(ResourceTypeCode typeCode, Object value, BinaryWriter writer, IFormatter objFormatter)
   at System.Resources.ResourceWriter.Generate()
   at System.Resources.ResourceWriter.Dispose(Boolean disposing)
   at Microsoft.Build.Tasks.Windows.ResourcesGenerator.Execute()
   at Microsoft.Build.BuildEngine.TaskEngine.ExecuteInstantiatedTask(EngineProxy engineProxy, ItemBucket bucket, TaskExecutionMode howToExecuteTask, ITask task, Boolean& taskResult) 


Thanks in advance,


Thanks & Regards,
Jayanthi.

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 22 Apr 2010, 03:23 PM
Hello,

Can you post more info about the grid version, how the grid is declared in your case and how the grid is bound?

Best wishes,
Vlad
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
GridView
Asked by
jayanthi
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or