First, go to Beta Centauri and mine all the moons. The moons there have 48 of all three items and the respawn rate is very high, allowing you to easily fill your cargo holds relatively quickly. Then, go somewhere that will buy your cargo and sell everything. It is recommended that you have all your Psi so the patrols do not nail you for having Contraband. If you successfully fulfill all three counts, you will get 192 of each item. If you are looking for specific items that you need for crafting, the ones available at Beta Centauri are as follows: Food, Polymers, Minerals, Alloys, Technology, Isotopes, Crystals, Gold, and Contraband (everything except Medicine).