Hi,
Usually, the function of tJoin is joining two tables by doing an exact match on several columns. It compares columns from the main flow with reference columns from the lookup flow and outputs the main flow data and/or the rejected data.
tMap is buffer component which takes processing(lookup) in memory if you don't set basic configuration of storing temporary data on disk.
For a large set of data, try to store the data on disk instead of memory to avoid "outOfMemory" exception.
See the online related article
TalendHelpCenter:Exception outOfMemory.
Best regards
Sabrina