Hi,
Try using PACKAGE SIZE addition to SELECT command (http://www.erpgreat.com/abap/package-size.htm), but I'm not sure if it will help you (it supports you when you're using too much AS memory, not when you're hitting problems with DB access).
BR
Marcin Cholewczuk