The eclipse on my work computer was working with VM argument -Xms40m and -Xmx512m and it is really slow and freezes a lot, I wanted to increase it to -Xmx1024m, but every time I did so I got the error "Could not create the Java Virtual Machine". The computer has 3.5GB RAM, WIN XP (32-bit), Java 1.6_18 What could be the reason? Is it related to other arguments? UPDATE: I changed t
我的工作计算机上的日食使用VM参数-Xms40m和-Xmx512m,它非常慢并且冻结了很多,我想将它增加到-Xmx1024m,但是每次我都这样做时,出现错误“无法创建Java虚拟机“。 该计算机有3.5GB RAM,WIN XP(32位),Java 1.6_18 可能是什么原因? 它与其他论点有关吗? 更新:我更改了-vm参数,因此它将使用jrockit JDK附带的jvm.dll,并且我能够将最大堆大小增加到1024m。 另外,在我的家用电脑上(WIN 7,32位,2GB内存,java 1.
I'm currently trying to tune my Eclipse installation and bumped into the "-vm" option. Other posts on SO mentioned that it's good to always use the latest JVM available because they keep getting better in terms of performance, so I'm likely to do that. I was wondering though how you could find out what JVM Eclipse runs on if you are not specifying the "-vm" param
我目前正试图调整我的Eclipse安装并碰到“-vm”选项。 SO上的其他帖子提到,总是使用最新的JVM是很好的,因为它们在性能方面越来越好,所以我很可能会这样做。 我想知道如果你没有指定“-vm”参数,你如何能够找出运行JVM的Eclipse。 我在文档中发现了以下内容,但没有说明它将如何查找JVM: 当传递给Eclipse可执行文件时,该选项用于查找用于运行Eclipse的Java虚拟机。 它必须是适当的Java可执行文件的完整文件系统路径。
Working in Eclipse with big projects can be painful because of IDE works slowly, sometimes stops and doesn't respond. I know it can depends on OS, version of Eclipse etc. All eclipse developers have tricks which tuning workspace in Eclipse, What should be turn off to improve performance the IDE? For example: My project has the recommendation to turn off xml validations, don't install
在Eclipse中使用大型项目工作可能会很痛苦,因为IDE工作缓慢,有时会停下来并且没有响应。 我知道它可以依赖于操作系统,Eclipse等版本 所有eclipse开发人员都会欺骗Eclipse中的哪些调优工作区,应该关闭哪些以提高IDE的性能? 例如:我的项目有建议关闭xml验证,不要安装m2eclipse。 由于Eclipse的性能,一些开发人员使用IntelliJ。 更新:对于这些谁感到不舒服的日食的表现,我建议尝试其他解决方案,只是为了比较
I'm using intelliJ for Scala development and got 8 GB of new RAM last week, so I thought: time to use it. I checked my task manager and found intelliJ using ~250mb. From eclipse I knew that tweaking JVM options helped a lot in improving speed, so I googled ... and found this one for OS X I couldn't find the JVM option immediately, so I started tweaking Xmx. At 1 GB, I realized it doe
我使用intelliJ进行Scala开发,上周获得了8 GB的新RAM,所以我想:有时间使用它。 我检查了我的任务管理器,发现使用约250MB的intelliJ。 从日食我知道,调整JVM选项在提高速度方面有很大帮助,所以我用Google搜索了...... 并发现这个OS X我无法立即找到JVM选项,所以我开始调整Xmx。 在1 GB时,我意识到它不会再开始。 我查了一下intelliJ的java版本,发现它已经过时了,还有32位。 因此,为了使用您当前的JDK和64位,
What is the maximum heap size that you can allocate on 32-bit Windows for a Java process using -Xmx ? I'm asking because I want to use the ETOPO1 data in OpenMap and the raw binary float file is about 910 MB. There's nothing better than an empirical experiment to answer your question. I've wrote a Java program and run it while specifying the XMX flag (also used XMS=XMX to force t
使用-Xmx可以在32位Windows上为Java进程分配的最大堆大小是多少? 我在问,因为我想在OpenMap中使用ETOPO1数据,原始二进制浮点文件大约为910 MB。 没有什么比用经验实验来回答你的问题更好。 我写了一个Java程序并在指定XMX标志时运行它(还使用XMS = XMX来强制JVM预先分配所有内存)。 为了进一步防止JVM优化,我主动分配X个10MB对象。 我使用Sun和IBM JVM在不同的32位操作系统上对许多JVM执行了大量测试,从而增加了XM
I use the recent Ganymede release of Eclipse, specifically the distro for Java EE and web developers. I have installed a few additional plugins (eg Subclipse, Spring, FindBugs) and removed all the Mylyn plugins. I don't do anything particularly heavy-duty within Eclipse such as starting an app server or connecting to databases, yet for some reason, after several hours use I see that Eclips
我使用最近的Ganymede Eclipse版本,特别是面向Java EE和Web开发人员的发行版。 我已经安装了一些额外的插件(例如Subclipse,Spring,FindBugs)并删除了所有的Mylyn插件。 我不会在Eclipse中做任何特别重的任务,例如启动应用服务器或连接到数据库,但出于某种原因,在几个小时的使用后,我看到Eclipse正在使用接近500MB的内存。 有人知道为什么Eclipse使用如此多的内存(泄漏?),更重要的是,如果有什么我可以做的,以
I have a really strange issue. I am working on a Java SWING application in Eclipse. I set a breakpoint somewhere in my code, then run the debug. I execute the piece of code containing the breakpoint but it is always skipped. As soon as I run some code that throws an uncaught exception, the breakpoints start being hit again, without changing anything else. The code that throws the exception a
我有一个很奇怪的问题。 我正在研究Eclipse中的Java SWING应用程序。 我在代码中的某处设置了一个断点,然后运行调试。 我执行一段包含断点的代码,但它总是被跳过。 只要我运行一些抛出未捕获异常的代码,断点就会再次被启动,而不会改变其他任何东西。 引发异常的代码和包含断点的代码无关。 我试图在几个地方设置断点,但在抛出异常之前它们一直没有命中。 我只有这个特定的应用程序有这个问题。 我的调试器适用于其
I really don't know what's going on with Eclipse 3.5 (3.5.0 or 3.5.1, same issues), but it's been now 2 days that I'm struggling with Eclipse to find a way to make the plugins installation work via the "Install New Software screen"!!! I have visited a lot of forums and blogs, tried many solutions but in vain: each time the current problem disappears and a new one appear
我真的不知道Eclipse 3.5(3.5.0或3.5.1,相同的问题)是怎么回事,但是现在我已经用了两天的时间来和Eclipse一起努力寻找一种方法来使插件安装通过“安装新软件”屏幕! 我访问了很多论坛和博客,尝试了很多解决方案但徒劳无功:每次当前问题消失并出现新问题。 我试图让它在我的办公室工作,所以在代理之后。 目前为止我得到的最好建议是关于NTLM代理已知问题的建议:http://wiki.eclipse.org/ECF_Filetransfer_Support_for_
Our company recently upgraded from Windows XP to Windows 7 Enterprise. The JDK installation is no longer setting user.home to the full path of the user directory, but instead is setting user.home to %userprofile% . This is causing a lot of issues with applications such as Eclipse, Maven, etc. I now have to set -Duser.home in the JVM for each application. Has anyone else experienced this? Is t
我们公司最近从Windows XP升级到Windows 7 Enterprise。 JDK安装不再将user.home设置为用户目录的完整路径,而是将user.home设置为%userprofile% 。 这导致了很多与Eclipse,Maven等应用程序有关的问题。我现在必须在每个应用程序的JVM中设置-Duser.home。 有没有其他人经历过这个? 有没有解决这个问题? 这与Windows 7 Enterprise的安装有关吗? 我试过了1.5 JDK和1.6 JDK。 这是属性列表。 注意user.home: -- listi
This question already has an answer here: NullPointerException from getExtras() 3 answers Take a look at this example taken from here class Argument { public final static int TOMAYTO = 0; public final static int TOMAHTO = 1; static void argue() { int say = TOMAYTO; while (true) { switch (say) { case TOMAYTO: say = TOM
这个问题在这里已经有了答案: 来自getExtras()的NullPointerException 3个答案 看看这里的例子 class Argument { public final static int TOMAYTO = 0; public final static int TOMAHTO = 1; static void argue() { int say = TOMAYTO; while (true) { switch (say) { case TOMAYTO: say = TOMAHTO; break;