I have an on going experiment. Wine fridge at 56 degrees. Since april 1 and still going. So at least 8 months. I leave mine out until they start to pupate then I put them in fridge. Then i take a hundred or so out at a time to pupate over a week or so. I only feed the flies because its easier than the larvae.