The program is not responding

Mmm, not sure what is going on, but could you try the latest build of the 5.1 branch (soon to become 5.1.6)?

It sounds very similar to Kicad (5.1.5)-3 - #13 by Piotr, you may need to not enable the accelerated graphics mode if you have very little RAM available.

Try to edit the following file in text editor:

%APPDATA%/kicad/eeschema

And change the value of canvas_type:

canvas_type=2

to disable openGl.