Dear Stata List

I am working with a large trade dataset (17 g). The dataset has three dimensions : 5000 products, 190 countries and 3 time periods. I use reghdfe command to run a linear model with multidimensional fixed effects (country-time, country-product and product-time). On my laptop it takes about 2 hrs to estimate the model.

Can you recommend how I can update the configuration to estimate such a model in a reasonable time frame?

My laptop configuration is below:

8 g RAM, Intel Dual Core i5-7200U processor and 1 TB hard drive.

Thank you

Rohit