Memory error when sourcing lots of rows (Informatica)

Hello,
I am running two different sessions, each with one mapping.
The 1st session is sourcing about 215 million rows and is generating the following error:
TE_7041 Aggregate Error: Failed to allocate 528 bytes
The 2nd session is sourcing about 150 million rows and is generating the following error:
SORT_40406 In transformation [srt_key], an error has occurred [I/O error occured writing (partial - filesystem full?) "/u01/app/informatica/product/8.1.1/pc/Temp/edw/PMSO RT28599_12scaGPB": 10254548992]
When i add the clause "AND ROWNUM < 1000" in my source SQL, the mapping runs to completion just fine. These errors are only coming when I try to run the entire data set. Any help you can provide on how to fix these would be great.

Hi,
In my opininon, there are two possibilities,
1.- You have a problem of disk / file definition space
2.- It seems like if you're using an order by clause in your first session which is used for aggregation purposes but it were "disabled" for the second session, which triggers an error.
In both cases, Why don't you have the error when you add the "AND ROWNUM < 1000" clause in your query? Because the files sizes are small enough or becaus the errors are out of the first rows.