For my indoor garbage liner I use a set of doubled, 16“x12“x7” paper grocery bags, which receive dry trash. It takes about 2 months to fill those bags, which is when I put them outside into a 30-gallon receptacle.
It takes about 4–6 months to fill the 30g receptacle, which is when I put it to the curb for collection. I don’t put it out more frequently, because the collection process subjects the receptacle to considerable material stress. Also, that reduces the chances that I’ll have to deal with dog waste that someone has put in it.
I put my food garbage in a separate receptacle, which I toss daily in a remote, heavily vegetated corner of my back yard.