Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: UisceBeathaHi,
When joining two sets of data using a left inner join I receive the error "Maximum buffer size of 536870912 bytes exceeded".
I've read the below threads on this forum regarding this issue:
-
http://community.lavastorm.com/archi...php/t-503.html
-
http://community.lavastorm.com/threa...y-open-files#6
and these suggests the error appears when the keys used for the matching are not unique and therefore create a cartesian product. However in this instance I don't believe this is the case as I'm pretty certain the right or bottom set of data is unique.
The left/top set of data contains 168,339,891 records and 21 fields for each record.
The right/bottom set contains 224 records and 7 fields for each record.
There are three match keys used in the join plus there's also a where clause comparing integers.
I've performed a similar left inner join on the top dataset earlier in the same graph (though there were only 14 fields in the dataset at this stage) and joined it with 350,000 records. There was no where clause in this join and this join completed successfully. I've also inserted a head node to cut my top dataset to 20,000 records, joined this to the 224 records using the same join node and this was successful and only outputted 20,000 records.
My PC is running BRE v4.5.2.0 Build 334, has Windows 7 32bit, Core i5 3570 3.4 GHz processor and 4 GB RAM.
What could be causing this error? Is it definitely because the join is creating a cartesian product? Or is it just because of the amount of data within the join?
Many thanks for your help