可能移动Eclipse的tmp目录? [英] Possible to move the tmp directory of Eclipse?

查看:122
本文介绍了可能移动Eclipse的tmp目录?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正试图通过把我的项目放在一个RAM磁盘上(卡在缓慢的笔记本电脑和一个沉重的eclipse项目)加速Eclipse。工作非常适合加载项目等,但是当我正在构建它似乎读取和写很多到%APPDATA%的目录(似乎有一个生成的名称从项目的名称)。这使得它实际上比平常更慢...



所以...有没有办法我可以移动eclipse的tmp目录?最好不要在这个过程中移动其他应用程序的tmp目录。

解决方案

可能已经找到了一种方法,设置一个名为<$ eclipse.ini中的c $ c> java.io.tmpdir 。至少在构建期间发生大部分读/写活动的似乎已经改变了。例如:

  -vmargs 
-Xms128m
-Xmx1024m
-XX:MaxPermSize = 256M
-Djava.io.tmpdir = E:\tmp

不知道是否必须在-vmargs的事情之后,但这似乎仍然有效。


I'm trying to speed up Eclipse by having my projects on a RAM disk (stuck with a slow laptop and a heavy kind of eclipse project at the moment). Worked great for loading the project and such, but when I'm building it seems to read and write a lot to a directory in %APPDATA% (seems to have a generated name from the name of the project). This makes it actually go slower than usual...

So... is there a way I can move the tmp directory of eclipse? Preferably without moving the tmp directory of other applications in the process.

解决方案

May have found a way by setting a property called java.io.tmpdir in eclipse.ini. Seems to have changed where most of the read/write activity happens during build at least. For example:

-vmargs
-Xms128m
-Xmx1024m
-XX:MaxPermSize=256M
-Djava.io.tmpdir=E:\tmp

Not sure if it have to be after the -vmargs thing or not, but this seems to work anyways.

这篇关于可能移动Eclipse的tmp目录?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆