Unity 5.6.1 Editor Freezing every few seconds from new project

Using Unity version 5.6.3f1 6b-bit Unity editor is really slow unusable, it freezes every few seconds.
even with a clean project. When I run unity from the command prompt it gives an error

"##unity-automation:{“messageType”:“MemoryLeaks”,“allocatedMemory”:164795,“memoryLabels”:[{“Default”:2192},{“Permanent”:20240},{“NewDelete”:72224},{“Thread”:584},{“Manager”:2912},{“GfxDevice”:8388608},{“Physics”:8},{“Serialization”:12704},{“JobScheduler”:136},{“GarbageCollector”:1048576},{“BaseObject”:88},{“Terrain”:224},{“String”:15358},{“DynamicArray”:3180},{“Utility”:-9437184},{“PoolAlloc”:-224},{“ScriptManager”:3280},{“Sprites”:9712},{“CloudService”:344},{“VR”:12908},{“EditorGui”:252},{“EditorUtility”:1192},{“AssetImporter”:32},{“RestService”:72},{“License”:641},{“UnityConnect”:6032},{“Collab”:704}]}

My system if an i7 with 40gb RAM and a Titan x

Graphic drivers are up to date an ideas?

It’s the Visual Basic editor that’s causing that.

Go to Edit > Preferences > External Tools and change the External Script Editor to something like Notepad++.

Once I did that I have no more freezes. That shit drove me nuts!