Getting out of memory error while doing snaphu export

Did you implement apply orbit as the first step, and the TOPSAR split.

In case yes, what are the properties of your machine?

Please take a look at this thread,

Processing S1 data