How many objects are you talking about? What's your query look like? What about your objects, what do they look like? Which values do you want back?
You can also increase your heap size, but I suspect that's not your problem.
[Message sent by forum member 'jeffreyrodriguez' (jeffreyrodriguez)]
http://forums.java.net/jive/thread.jspa?messageID=244797