"Cannot Allocate Memory" error when trying to ssh or ping or curl due to unrelated vpn?
Solution 1:
Quote from this apple forum post
Try following:
Methind 1
- ensure you have admin access
- go to system preferences
- click on network
- select Wi-Fi
- select advanced button (at the bootom right of the screen, before the "?" sign)
- select tcp/ip tab
- disable and enable tcp/ip
Method 2
sudo route delete -host 128.0.0.0