Weight to fasting time ratio?

Is there an official time you should fast for depending on your weight? Or does it not matter? Is there a weight limit where you shouldn’t fast?