Aptana freezing regularly in Windows 7

时间秒杀一切 提交于 2019-12-12 08:56:17

问题


Seems to be since updating Aptana 3.4 (3.4.0.201304151603 to be precise) that it regularly freezes up - greys out and displays "Not responding".

It doesn't freeze up straight away, usually after editing and saving for a few minutes. Generally seems to freeze while editing code, usually PHP.

My log file did report issues with the Subversion plugin, but I've since removed this entirely and still face the same issues.

My OS is Windows 7 32-bit.

Any suggestions on how to remedy such problems in Aptana would be greatly appreciated as this renders it pretty useless :(.


回答1:


Deleting the log file seems to work for me. Its full of pretty useless stuff for a regular user anyway and when it gets too big - boom: not responding.

Try deleting the log file ( /[yourworkspace]/.metadata/.log ), emptying your windows temp folder (C:\Users[your user name]\AppData\Local\Temp) and run aptana as an administrator (you can make this default behaviour by editing the properties of the task bar / start menu icon for Aptana)

Maybe a new version will come out with a fix for this OR the option to turn off logging completely. Its the log file causing this issue for sure.




回答2:


Do you use a git repository? Mine is freezing, too, but when I rename the .git directory to something else, the freezing stops. I'm on Aptana Studio 3, build: 3.4.0.201304151603. It's very annoying because I do use git. I haven't been able to track down exactly what about the git integration is causing this.




回答3:


So I have been having the same problem with Aptana Studio 3. I have followed this set of instructions found here: http://youtu.be/RYobTLq_hms?list=UUtL_0WLPWmHZE_HcX48F96w

Or here are the instructions if you do not want a video to watch...

  1. Goto www.JAVA.com/en/download/ and download the newest Java Runtime Environment

  2. Open up C:\Users...\AppData\Local\Aptana Studio 3\AptanaStudio3.ini with anything but notepad (Open with WordPad or Notepad++)

  3. BEFORE the -vmargs line add:

    -vm C:\Program Files (x86)\Java\jre7\bin\javaw.exe

... then SAVE and CLOSE

4 . Finally open Aptana Studio 3. Now your problem should be solved and Aptana should be pointing to the newest version of JAVA.

I hope that this fix helps you as much as it has helped me!




回答4:


Deleting the log file didn't work for me, but when viewing the log file, it talked about

The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.

So I deleted the workspace file (/.metadata/.plugins/org.eclipse.ui.workbench/workbench.xml) which just stores what files you had open when you closed the application and the problem was installed solved (with seeminly no unexpected side-effects)




回答5:


I still have this problem. It seems more often than not it hangs on startup. Win 7 64bit. One time I deleted the .metadata folder, then recreated a blank one it it worked. but it no longer works. One time I rebooted the system and it worked. The fix that works 1 time doesn't the next.




回答6:


Adding the lines:

-vm

C:\Program Files (x86)\Java\*javaversion*\bin\

to the .ini file:

C:\Users\*youruser*\AppData\Roaming\Appcelerator\Aptana Studio\AptanaStudio3.ini

solved the freezing issue for me.



来源:https://stackoverflow.com/questions/16166386/aptana-freezing-regularly-in-windows-7

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!