Error running ensime-source-buffer-loaded-hook - OSX with ENSIME and Emacs

I get the following error when trying to start ENSIME on OSX through Emacs

Error running ensime-source-buffer-loaded-hook

I am following the instructions from the github source page

  1. Scala Mode is Working
  2. ENSIME Server appears to be installed, is there any way to verify this?
  3. The sbt plugin is installed and I have a .ensime config file generated

Starting Emacs gives me the above error. When I manually try M-x ensime I get the following:

Failed to connect to Swank: server process exited.


Okay, here's how I solved it:

Locate the ensime folder and run bin/server /tmp/ensime.port. I got the error:

java -classpath ... org.ensime.server.Server ./port
Unrecognized VM option '+DoEscapeAnalysis'
Could not create the Java virtual machine.

I have no idea what DoEscapeAnalysis is for, but I tried deleting it from bin/server and now everything seems to work.

See here:

For my case on Windows 7, with the same error message, but the root cause was the original setting for the maximum heap size -Xmx1512M was too large, I had to change to -Xmx768M to get over the error message.

I had also removed the byte compiled elisp code, and restart to avoid another error of "call time out".

Need Your Help

Facebook SDK returned an error: Connection timed out after 10001 milliseconds

php facebook facebook-graph-api

i have integrated facebook login (PHP Sdk Version 5.0.0) with my website. That is working fine in my localhost. But it shows the following error when i have hosted in my server;

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.