LM317 voltage regulator R2 is getting very hot? why?

calvingloster:
Ok so let me ask you this, if I use a 240 ohm resister as R1 then I can supply a voltage whatever depending on R2 but my maximum current I can provide is 1.25/240 is 0.005 Amps. Now what if I need 250mA?

Incorrect. Where in the world did you get such an idea?