Hi manoj07,
This is due to large amount of data which is unable to fit in the physical memory.
The first thing is that you have to check how many columns you are returning and what their data types are. Error suggests that you are either returning more fields than you need or perhaps some of the fields are very large strings or binary data. Try to write select statement that returns only the fields that are absolutely needed for the display.