Classification of goods by category
Random forests should be able to handle categorical values natively so look for a different implementation so you don't have to encode all of those features and use up all your memory..
XGBoost
Dimensionality Reduction
CatBoost
Hierarchical Clustering Using Scipy
Target Encoding