V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
Corn665353
V2EX  ›  程序员

[求助] IDEA 下用 Tomcat Run/Debug 报如下错误

  •  
  •   Corn665353 · 2018-04-25 17:48:31 +08:00 · 2182 次点击
    这是一个创建于 2433 天前的主题,其中的信息可能已经有所发展或是发生改变。

    http://wx4.sinaimg.cn/mw690/6b76188dly1fqp1k5qo8jj21di0i4tl7.jpg

    Google 了一圈,发现的答案有:

    1 重装 JDK 2 更新英伟达显卡驱动(神特么更新驱动) 3 设置 vm 参数

    附上 Google 的部分搜索结果 https://intellij-support.jetbrains.com/hc/en-us/community/posts/206640459-Abnormal-build-process-termination

    https://intellij-support.jetbrains.com/hc/en-us/community/posts/115000329864-Error-Abnormal-build-process-termination-

    全部试过了,但是并不好使,希望有经验的大佬能不吝赐教啊 如果图片看不清,我会在楼下粘下详细 log

    6 条回复    2018-04-25 18:40:48 +08:00
    Corn665353
        1
    Corn665353  
    OP
       2018-04-25 17:49:46 +08:00
    Error:Abnormal build process termination:
    "C:\Program Files\JetBrains\IntelliJ IDEA 2018.1.2\jre32\bin\java.exe" -Xmx1500m -Djava.awt.headless=true -Djava.endorsed.dirs=\"\" -Djdt.compiler.useSingleThread=true -Dpreload.project.path=E:/IDEA_WorkSpace/workspace_TUKU/xiangyouplatform -Dpreload.config.path=C:/Users/Mr.Corn/.IntelliJIdea2018.1/config/options -Dcompile.parallel=false -Drebuild.on.dependency.change=true -Djava.net.preferIPv4Stack=true -Dio.netty.initialSeedUniquifier=8999220741926943958 -Dfile.encoding=GBK -Duser.language=zh -Duser.country=CN -Didea.paths.selector=IntelliJIdea2018.1 "-Didea.home.path=C:\Program Files\JetBrains\IntelliJ IDEA 2018.1.2" -Didea.config.path=C:\Users\Mr.Corn\.IntelliJIdea2018.1\config -Didea.plugins.path=C:\Users\Mr.Corn\.IntelliJIdea2018.1\config\plugins -Djps.log.dir=C:/Users/Mr.Corn/.IntelliJIdea2018.1/system/log/build-log "-Djps.fallback.jdk.home=C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/jre32" -Djps.fallback.jdk.version=1.8.0_152-release -Dio.netty.noUnsafe=true -Djava.io.tmpdir=C:/Users/Mr.Corn/.IntelliJIdea2018.1/system/compile-server/xiangyouplatform_68700f31/_temp_ -Djps.backward.ref.index.builder=true -Dkotlin.incremental.compilation=true -Dkotlin.daemon.enabled -Dkotlin.daemon.client.alive.path=\"C:\Users\MRF95D~1.COR\AppData\Local\Temp\kotlin-idea-3532314588212831725-is-running\" -classpath "C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/lib/jps-launcher.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/jre32/lib/tools.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/lib/optimizedFileManager.jar" org.jetbrains.jps.cmdline.Launcher "C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/lib/jps-builders.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/lib/jna.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/lib/lz4-java-1.3.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/lib/snappy-in-java-0.5.1.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/lib/protobuf-java-3.0.0.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/lib/asm-all.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/lib/oro-2.0.8.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/lib/httpcore-4.4.5.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/lib/idea_rt.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/lib/httpclient-4.5.2.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/lib/resources_en.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/lib/jps-model.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/lib/aether-dependency-resolver.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/lib/commons-logging-1.2.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/lib/jna-platform.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/lib/trove4j.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/lib/javac2.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/lib/jps-builders-6.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/lib/maven-aether-provider-3.3.9-all.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/lib/util.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/lib/guava-21.0.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/lib/nanoxml-2.2.3.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/lib/annotations.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/lib/log4j.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/lib/jgoodies-forms.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/lib/platform-api.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/lib/netty-all-4.1.13.Final.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/lib/forms_rt.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/lib/aether-1.1.0-all.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/lib/jdom.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/lib/slf4j-api-1.7.10.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/lib/commons-codec-1.9.jar;;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/lib/gson-2.8.2.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/plugins/android/lib/jarutils.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/lib/guava-21.0.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/plugins/android/lib/android-base-common.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/plugins/gradle/lib/gradle-api-4.4.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/lib/gson-2.8.2.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/plugins/android/lib/jarutils.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/lib/guava-21.0.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/plugins/android/lib/android-base-common.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/plugins/gradle/lib/gradle-api-4.4.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/plugins/ant/lib/ant-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/plugins/uiDesigner/lib/jps/ui-designer-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/plugins/IntelliLang/lib/intellilang-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/plugins/Groovy/lib/groovy-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/plugins/Groovy/lib/groovy-rt-constants.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/plugins/eclipse/lib/eclipse-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/plugins/eclipse/lib/common-eclipse-util.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/plugins/maven/lib/maven-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/plugins/maven/lib/plexus-utils-2.0.6.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/plugins/osmorc/lib/osmorc-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/plugins/osmorc/lib/bndlib-3.3.0.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/plugins/osmorc/lib/bnd-repository-3.3.0.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/plugins/osmorc/lib/bnd-resolve-3.3.0.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/plugins/osmorc/lib/plexus-utils-3.0.10.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/plugins/osmorc/lib/bundlor-all.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/plugins/aspectj/lib/aspectj-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/plugins/flex/lib/flex-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/plugins/flex/lib/flex-shared.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/plugins/gradle/lib/gradle-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/plugins/devkit/lib/devkit-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/plugins/JavaEE/lib/javaee-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/plugins/JavaEE/lib/jps/jpa-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/plugins/webSphereIntegration/lib/jps/webSphere-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/plugins/weblogicIntegration/lib/jps/weblogic-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/plugins/dmServer/lib/dmServer-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/plugins/GwtStudio/lib/gwt-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/plugins/GoogleAppEngine/lib/google-app-engine-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/plugins/GoogleAppEngine/lib/appEngine-runtime.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/plugins/Grails/lib/grails-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/plugins/Grails/lib/grails-compiler-patch.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/plugins/android/lib/jps/android-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/plugins/android/lib/android-common.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/plugins/android/lib/build-common.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/plugins/android/lib/android-rt.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/plugins/android/lib/sdk-common.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/plugins/android/lib/repository.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/plugins/android/lib/sdklib.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/plugins/android/lib/android-base-common.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/plugins/android/lib/jarutils.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/plugins/android/lib/layoutlib-api.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/plugins/android/lib/manifest-merger.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/plugins/Kotlin/lib/jps/kotlin-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/plugins/Kotlin/lib/kotlin-stdlib.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/plugins/Kotlin/lib/kotlin-reflect.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/plugins/Kotlin/lib/kotlin-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/plugins/Kotlin/lib/android-extensions-ide.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/plugins/Kotlin/lib/android-extensions-compiler.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/plugins/javaFX/lib/javaFX-jps-plugin.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.1.2/plugins/javaFX/lib/common-javaFX-plugin.jar" org.jetbrains.jps.cmdline.BuildMain 127.0.0.1 50566 944bf687-6d2b-4beb-8331-085300d4bd6b C:/Users/Mr.Corn/.IntelliJIdea2018.1/system/compile-server
    Error occurred during initialization of VM
    Could not reserve enough space for 1536000KB object heap

    这个是 Log
    Corn665353
        2
    Corn665353  
    OP
       2018-04-25 18:17:23 +08:00 via iPhone
    可能得原因:
    1 昨天没关电脑,第二天早上到公司发现无法唤醒屏幕,然后直接强制断电了,此时 idea 在运行
    2 今天关机后加了一条内存
    3 删除过一次 .idea/workspace.xml 文件,但是后来回滚了
    misaka19000
        3
    misaka19000  
       2018-04-25 18:21:25 +08:00
    你这是内存不够啊
    Corn665353
        4
    Corn665353  
    OP
       2018-04-25 18:25:04 +08:00 via iPhone
    @misaka19000 电脑内存的话是 16G,应该不会,jvm 的话,具体要怎么设置啊,真是难受啊,之前好好的
    misaka19000
        5
    misaka19000  
       2018-04-25 18:35:23 +08:00
    你使用 -Xmx1500m 申请了 1.5G 的内存,但是操作系统可能不能提供这么多的内存
    Corn665353
        6
    Corn665353  
    OP
       2018-04-25 18:40:48 +08:00 via iPhone
    @misaka19000 明白了,那我减半试试吧
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5989 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 03:08 · PVG 11:08 · LAX 19:08 · JFK 22:08
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.