What printer are you using?

Is it possible that the filament is not being pulled evenly into the extruder, maybe the tube is bending too far or something similar?

Could even be the heater cutting out for the same reason, but I would expect this to be more random.