The memory usage estimator looks at global and static variables. By putting it into loop() you have made it a local variable.
It still uses the same amount of space except it isn't reported in that line.
The memory usage estimator looks at global and static variables. By putting it into loop() you have made it a local variable.
It still uses the same amount of space except it isn't reported in that line.