I am encountering a problem similar to this post (running out of memory while merging). In particular, I want to merge these two database:
- Segment 1: it only contains one variable (Identifiers). It is a strL variable with 70 million rows (.dta size is around 4GBs).
- Segment 2: it contains a "superset" of variable Identifiers and other 8 numeric variables (.dta size is around 8GBs). For "superset" I mean that Segment2 contains the same observations of Segment1 plus some more others (overall Segment2 contains 71 million rows).
Code:
clear _all use Segment1.dta merge 1:1 Identifiers using Segment2.dta
Code:
I/O error writing .dta file Usually such I/O errors are caused by the disk or file system being full. r(693);
Any help would be much appreciated.
Best,
Edoardo
0 Response to Running out of memory while merging .dta
Post a Comment