ADO.NET Entities throws OutOfMemoryException. How to prevent that
See the question and my original answer on StackOverflowI don't think there is an easy solution for this. See this related question: Handling BLOBs in Entity Framework 4.0 in a stream-fashion