Visual Studio 2017 - Node.JS 服务器进程 - 关闭? [英] Visual Studio 2017 - Node.JS Server Process - Turn off?

查看:16
本文介绍了Visual Studio 2017 - Node.JS 服务器进程 - 关闭?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在 Visual Studio 2017 中开发 ASP.NET 应用程序,我注意到一个 Node.JS:运行在 1.3GB 到 1.8GB 内存的服务器端 Javascript 进程.我的 IIS 工作进程是 VS 2015 中的正常大小.

I'm working on a ASP.NET App in Visual Studio 2017 and I'm noticing a Node.JS: Server-side Javascript process running at 1.3GB to 1.8GB of memory. My IIS worker process is the normal size it is in VS 2015.

我的应用不包含任何 Node.JS 库.我不知道如何关闭这个 Node.JS: Server-side Javascript process off.对于我没用的东西,它占用了太多内存.

My app doesn't include any Node.JS libraries. I'm not able to figure out how to turn this Node.JS: Server-side Javascript process off. It's eating up too much memory for something I have no use for.

除了卸载 VS 2017 并切换回 VS 2015 之外,还有其他方法可以解决这个问题吗?

Is there a way to kill this aside from uninstalling VS 2017 and switching back to VS 2015?

在任务管理器中终止主进程不会影响 VS 中的任何内容,但是如果我转到详细信息选项卡并终止各个正在运行的进程,它会使 Visual Studio 崩溃.在我终止进程并运行我的本地网页后,我拍摄了一段视频(抱歉质量问题,因此将图像大小限制为 2MB):

Killing the main Process in Task Manager doesn't affect anything in VS, however if I go to the Details tab and kill the the individual running processes it crashes Visual Studio. I took a video of what happened after I killed the process and ran my local web page (Sorry for the quality, SO limited image size to 2MB):

推荐答案

工具 >选项>文本编辑器 >JavaScript/TypeScript >语言服务...

Tools > Options > Text Editor > JavaScript/TypeScript > Language Service...

取消选中启用新的 JavaScript 语言服务".

Uncheck 'Enable the new JavaScript language service'.

重启 Visual Studio

Restart Visual Studio

这似乎阻止了 NodeJS 进程的启动.

This appears to prevent the NodeJS process from starting.

这篇关于Visual Studio 2017 - Node.JS 服务器进程 - 关闭?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆