相关疑难解决方法(0)

如何在Mac上的IntelliJ IDEA中增加IDE内存限制?

我在Mountain Lion上使用IDEA 12 Leda.我想增加IDE可以使用的最大内存.我将Info.plist文件中的VMOptions设置为 -Xmx2048m -ea -XX:+HeapDumpOnOutOfMemoryError -Xverify:none -Xbootclasspath/a:../lib/boot.jar

当我打开IDEA时,我仍然看到最大内存为711m.

jps -v 显示我的VMOptions已加载,但它已被以下选项取代.

29388  **-Xmx2048m** -ea -XX:+HeapDumpOnOutOfMemoryError -Xverify:none -Xbootclasspath/a:../lib/boot.jar -Xms128m **-Xmx800m** -XX:MaxPermSize=350m -XX:ReservedCodeCacheSize=64m -XX:+UseCodeCacheFlushing -XX:+UseCompressedOops -Didea.paths.selector=IdeaIC12 -Dsun.java2d.noddraw=true -Didea.max.intellisense.filesize=2500 -Didea.dynamic.classpath=false -Didea.jars.nocopy=false -Dsun.java2d.d3d=false -Dapple.awt.fullscreencapturealldisplays=false -Dapple.laf.useScreenMenuBar=true -Djava.endorsed.dirs= -Dswing.bufferPerWindow=false -Didea.fatal.error.notification=enabled -Didea.cycle.buffer.size=1024 -Didea.popup.weight=heavy -Didea.xdebug.key=-Xdebug -Dapple.awt.graphics.UseQuartz=true -Dsun.java2d.pmoffscreen=false -Didea.no.launcher=false -DCVS_PASSFILE=~/.cvspass -Didea.use.default.antialiasing.in.editor=false -Dcom.apple.mrj.application.live-resize=false -Didea.smooth.progress=false
29392 Jps -Dapplication.home=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home -Xms8m
Run Code Online (Sandbox Code Playgroud)

哪里-Xmx800来的?我需要删除它.

java macos intellij-idea jvm-arguments

310
推荐指数
7
解决办法
22万
查看次数

Class JavaLaunchHelper is implemented in both ... libinstrument.dylib. One of the two will be used. Which one is undefined

I upgraded to the latest Java 7 u40 on MacOS X and started getting the following message on the console when launching my application using Eclipse. The app works fine but I would like to find out the cause of the problem and hopefully a fix for it.

objc[10012]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.7.0_40.jdk/Contents/Home/bin/java and /Library/Java/JavaVirtualMachines/jdk1.7.0_40.jdk/Contents/Home/jre/lib/libinstrument.dylib. One of the two will be used. Which one is undefined.
Run Code Online (Sandbox Code Playgroud)

Does anyone know why this message is printed and how to …

java eclipse macos jvm jvm-hotspot

271
推荐指数
6
解决办法
12万
查看次数

打开zip文件或JAR清单时出错:C:\ Program

我正在https://developers.google.com/appengine/docs/java/webtoolsplatform#dynamic_web_project上执行"在服务器上运行项目" ,我遇到了一个问题:

初始化VM代理程序库时发生错误无法初始化:仪器错误打开zip文件或JAR清单丢失:C:\ Program

另一个人在这里报告了类似的问题:错误打开zip文件或缺少JAR清单:C:/ Program.但解决方案是针对不同的技术.我正在使用Eclipse,Web Tools Platform和Google-App-Engine.

很可能是因为我的Java安装在C:\ Program Files中,这是一个包含空格的目录.但我不知道如何解决这个问题.我不确定如何安全地将Java\jre7目录移动到没有空格的目录中.

java eclipse google-app-engine eclipse-wtp

17
推荐指数
2
解决办法
7万
查看次数

升级到IntelliJ 2017.1后,类JavaLaunchHelper错误

我刚刚更新到IntelliJ IDEA 2017.1,现在我每次都在运行时收到此错误消息:

objc [3318]:类JavaLaunchHelper在/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/bin/java(0x107a4c4c0)和/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/中实现. Contents/Home/jre/lib/libinstrument.dylib(0x107b144e0).将使用两者之一.哪一个未定义.

一切都像往常一样.看起来真的很烦人.我在旧版本的IntelliJ之前没有此错误消息.

如果没有修复,那么我可以告诉IntelliJ在运行我的程序时没有给我这个特定错误吗?

java upgrade intellij-idea

10
推荐指数
0
解决办法
883
查看次数