How to grab data (titles, thumbnails and custom fields) from multiple posts to populate a new array efficiently?

Sorry! Turns out the problem with query_posts failing here was due to my PHP memory_limit. I changed it from 8mb to 128mb and the problem goes away.