What is the maximum amount of data I can load onto a form control?
My application consumes too much memory and hangs when more than 500,000 records are added to any windows forms control in my experience. Any clues?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes, that will cause problems.
Don’t add that many records.
Nobody needs that many. What you need to do instead is add filtering capabilities so that the user can specify which range of the data he/she wants to use.
For instance, let the user narrow the search by date (if it’s time-sensitive data), or order number range, or … well, whatever.
But I can guarantee you that finding a way to add 500K rows to a grid or whatever is not a solution.