jetbrains系列软件出现the jvm could not be started the...

本文介绍了如何通过调整IDE的虚拟机参数来解决常见的内存溢出问题,具体步骤包括找到安装目录下的配置文件并修改最大永久代内存设置。

配置问题

找到 安装目录/bin/PhpStorm.exe.vmoptions 文件,用文字编辑器打开

 

 

-Xms128m
-Xmx512m
-XX:MaxPermSize=250m <- 把这里的250改小一点,比如150,就可以了
-XX:ReservedCodeCacheSize=64m
-ea

转载于:https://my.oschina.net/lyex/blog/77254

pnpx react-native run-android info A dev server is already running for this project on port 8081. * daemon not running; starting now at tcp:5037 * daemon started successfully info Launching emulator... info Successfully launched emulator. info Installing the app... [Incubating] Problems report is available at: file:///D:/vue3/Yunsuo/android/build/reports/problems/problems-report.html Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0. You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. For more on this, please refer to https://docs.gradle.org/8.14.1/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation. info 💡 Tip: Make sure that you have set up your development environment correctly, by running npx react-native doctor. To read more about doctor command visit: https://github.com/react-native-community/cli/blob/main/packages/cli-doctor/README.md#doctor FAILURE: Build failed with an exception. * Where: Settings file 'D:\vue3\Yunsuo\android\settings.gradle' line: 2 * What went wrong: Error resolving plugin [id: 'com.facebook.react.settings'] > A problem occurred configuring project ':gradle-plugin'. > Could not resolve all artifacts for configuration 'classpath'. > Could not download kotlin-gradle-plugin-2.1.20-gradle85.jar (org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.20) > Could not get resource 'https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-gradle-plugin/2.1.20/kotlin-gradle-plugin-2.1.20-gradle85.jar'. > Could not GET 'https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-gradle-plugin/2.1.20/kotlin-gradle-plugin-2.1.20-gradle85.jar'. Received status code 400 from server: Bad Request > Could not download kotlinx-coroutines-core-jvm-1.8.0.jar (org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.8.0) > Could not get
07-17
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值