Delicate ricotta gnocchi are perfect for freezing because it makes them easier to handle. After shaping the gnocchi, arrange them in a single layer on a baking sheet and freeze them for at least 1-2 hours. Then transfer them to a freezer safe container or freezer bag. They can be frozen for up to about 2 months. They can also be cooked straight out of the freezer, although you might need to add a few extra minutes to the cooking time.