Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - DataRepeater Out of Memory error

Reply
 
Old 12-22-2008   #1 (permalink)
John Bundy


 
 

DataRepeater Out of Memory error

Equipment is HP dual core 2.0 with 2GB RAM nc6400

I have an application with a datarepeater that i filter to change what is
displayed. The repeater is connected to a datasource with 70 rows of test
data. On the CurrentItemIndexChanged event i grab a number from the selected
items controls and open a form, place the number in the label, and put a
background image in a picturebox. The images are less than 100k a piece and
never more than one is displyed at a time.

The issue comes when i scroll up or down the datarepeater several times and
then change the selection, sometimes i get OutOfMemoryException was unhandled.

i'm not sure how i can be out of memory with 1 image in a 100,100 picturebox
and a label, 2 buttons, and a datarepeater with 70 rows each containing 3
labels. Could this be caused by the redrawing of the datarepeater? I would
imagine that is the issue but would like to confirm. If so is there a
workaround or is the datarepeater just very limited in usefulness?
Thanks

--
-John
Please rate when your question is answered to help us and others know what
is helpful.

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Not enough memory error Virtual PC
Error: There is not enough memory Vista mail
ERROR OUT OF MEMORY Vista General
memory.dll error Vista Games
Install Error - Required data was not placed into memory error Vista installation & setup


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46