Easy. Don't try to bind 10,000 records to the damn grid!
Honestly, who in their right mind would want to look at 10,000 records all at once?
Use
Virtual mode[
^] in the grid properties and implement paging where you only bind the data to the grid that the user can actually see.