Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Eclipse hangs when editing PHP files(Eclipse hangs when editing PHP files)
Eclipse hangs when editing PHP files [message #898067] Wed, 25 July 2012 17:42 Go to next message
Emil Diego is currently offline Emil DiegoFriend
Messages: 2
Registered: July 2012
Junior Member
I am using Eclipse 4.2.0 and PDT 3.0.0 on a Mac Book pro (Lion 64-bit). Whenever I try to edit PHP files it works for a few minutes then randomly the program hangs. It will stay like that for a minute or two. I have to force quit and then restart the application. This is a newly installed laptop with eclipse. I am using a workspace from an older version of Eclipse (Indigo).

I'm attaching the eclipse log file.

If anyone has any ideas, please let me know.
  • Attachment: log
    (Size: 241.80KB, Downloaded 304 times)
Re: Eclipse hangs when editing PHP files [message #898641 is a reply to message #898067] Fri, 27 July 2012 01:24 Go to previous messageGo to next message
Toshihiro Izumi is currently offline Toshihiro IzumiFriend
Messages: 360
Registered: July 2009
Location: Japan
Senior Member
(though I don't support mac)
Try removing all files under /Users/emildiego/Desktop/Source/.metadata/.plugins/org.eclipse.dltk.core.index.sql.h2/
Your database is corrupted. Removing files makes rebuilding the database on startup.
Re: Eclipse hangs when editing PHP files [message #899795 is a reply to message #898641] Thu, 02 August 2012 11:34 Go to previous messageGo to next message
chen thierry is currently offline chen thierryFriend
Messages: 24
Registered: June 2010
Junior Member
Hi
Try to extend memory limitations perhaps, in your eclipselocation/eclipse-php.ini
Example on my (debian system):
kmc@proliant:/mnt/data/www/ligamen.org/sites$ cat /opt/eclipse-php/eclipse-php.ini
-startup
plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.100.v20110505
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-showlocation
-name
Eclipse for PHP Developers
-vmargs
-Xms128M
-Xmx512M
Re: Eclipse hangs when editing PHP files [message #899831 is a reply to message #899795] Thu, 02 August 2012 13:45 Go to previous message
Emil Diego is currently offline Emil DiegoFriend
Messages: 2
Registered: July 2012
Junior Member
I deleted everything in the /.metadata/.plugins/org.eclipse.dltk.core.index.sql.h2/ directory and then edited the eclipse.ini file to increase the memory to:
-Xms400m
-Xmx1024m


I tired both suggestions and I have been running for 2-3 days without incident.

Thanks for the help.
Previous Topic:SQL syntax highlighting and code completion in Eclipse PDT
Next Topic:Snippets / Templates?
Goto Forum:
  


Current Time: Thu Apr 18 17:03:07 GMT 2024

Powered by FUDForum. Page generated in 0.01831 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top