Troubleshoot failure to startup language service

This document is used to solve the problem that some computers cannot startup the language service, causing the code prompt function and packaging function to be unavailable.

The known reasons for the failure to startup the language service are as follows:(Windows Only):

1.JDK is not compatible

Solution:Open Oracle Download Page to find Windows x86,download latest jdk installation package. After installation, find the installation directory of Java C:\Program Files (x86)\Java then copy jre7 directory to the plugins directory under the HBuilderX installation directory and rename it to jre(delete old jre directory in plugins folder),then restart HBuilderX。

2.Insufficient memory

Solution:find plugins/ls/ls.ini file from HBuilderX installation directory and replace the content as follows:

  1. -Xverify:none
  2. -Xnoclassgc
  3. -Dfile.encoding=utf-8
  4. -Djna.nosys=true
  5. -Xmx512m
  6. -Xms256m
  7. -Xmn128m
  8. -XX:PermSize=64m
  9. -XX:MaxPermSize=128m
  10. -XX:+DisableExplicitGC
  11. -XX:+UseConcMarkSweepGC
  12. -XX:+UseParNewGC
  13. -XX:CMSInitiatingOccupancyFraction=85

Then, restart HBuilderX。