Arduino keeps restarting (memory issue?) - DHT11 + Arduino IoT cloud

I didn't mean it as a cure. If it kept knocking out "Initializing. . ." then that would indicate, I think, a 'reset' (something taking Vcc unacceptably low).
When a library is lacking, sketches (usually?) do not Compile [Verify].