首页 > 其他 > 详细

VSCode 出现错误 System.IO.IOException: The configured user limit (128) on the number of inotify instances has been reached.

时间:2020-01-09 15:13:09      阅读:393      评论:0      收藏:0      [点我收藏+]

方案一:

  1. sudo vim /etc/sysctl.conf
  2. 增加下面内容(环境变量)
  • fs.inotify.max_user_watches = 1638400
  • fs.inotify.max_user_instances = 1638400
  1. save the file
  2. sudo sysctl -p

方案二:

  1.  增加临时环境变量  export DOTNET_USE_POLLING_FILE_WATCHER=true

方案三

         echo fs.inotify.max_user_instances=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

VSCode 出现错误 System.IO.IOException: The configured user limit (128) on the number of inotify instances has been reached.

原文:https://www.cnblogs.com/microestc/p/12171018.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!