improperly specified vm option。关于IDEA修改JVM参数后启动失败的解决方法

由于最近在研究垃圾回收这一块,然后想实操测一下各种垃圾回收器的性能跟模式,所以在idea修改了vm文件,关掉idea后再打开发现打不开了,出现如下报错信息:

 从它提示的意思不难看出,是VM option有问题,让我们去修复这个问题,编辑JVM options把它修改正确,下面提供的路径并不是问题所在的路径,只需要找到对应的数据缓存区,修改idea64.exe.vmoptions这个文件即可,路径是 C:\用户名\AppData\Roaming\JetBrains\IntelliJIdea+你的idea版本号\idea64.exe.vmoptions,把之前你修改的错误的参数删除或者还原即可打开idea了。

如果有同学找不到AppData的,需要把隐藏文件夹显示出来即可

 在查看下面,把隐藏的项目勾上即可显示隐藏文件夹

 

  • 2
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
5.36 is now RTM! NEW/IMPROVED: There's now a built-in interactive RegEx utility! Press Ctrl+Shift+F1, or choose the option on the Help menu. The utility is implemented as a LINQPad script - click on the built-in samples to view. LINQPad now includes a set of HTML controls for writing interactive queries. Unlike WPF and Windows Forms controls, these render in the same output panel as your results. To use them, just instantiate and dump them: // All the controls live in the LINQPad.Controls namespace. var txt = new TextBox().Dump(); txt.TextInput += (sender, args) => $"You typed {txt.Text}".Dump(); Click here for an interactive tutorial. The NuGet search engine now recognizes SemVer2 prerelease packages, and uses a new faster API. You can now reference NuGet packages that include only native DLLs, such as Microsoft.ChakraCore. To invoke the native methods, set the query type to 'C# Program' and declare the methods that you want to call prefixed with the appropriate DllImport attributes. LINQPad now identifies NuGet packages with duplicate extension attributes in Content_Types.xml, and automatically removes the duplicates so that the package loader will not throw an InvalidOperationException. C# 7.3 is now supported. When connecting to SQL Azure, you can now opt for Universal Active Directory authentication, with support for multi-factor authentication. There are new methods in LINQPad's Util class to load/save strings or byte arrays to a central machine store (shared between queries). These methods are Util.SaveString, Util.SaveBytes, Util.LoadString, and Util.LoadBytes. LINQPad's embedded ILSpy has now been updated to V4. You can now enable or disable compiler optimizations on a per-query basis, by starting your query with the following code: #LINQPad optimize+ // To force optimizations on for this query #LINQPad optimize- // To force optimizations off for this query In the SQL connection dialog, when you choose the 'Display all databases in TreeView' opt

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值