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)\Javathen copyjre7directory to thepluginsdirectory under the HBuilderX installation directory and rename it tojre(delete old jre directory in plugins folder),then restart HBuilderX。
2.Insufficient memory
Solution:find
plugins/ls/ls.inifile from HBuilderX installation directory and replace the content as follows:
-Xverify:none
-Xnoclassgc
-Dfile.encoding=utf-8
-Djna.nosys=true
-Xmx512m
-Xms256m
-Xmn128m
-XX:PermSize=64m
-XX:MaxPermSize=128m
-XX:+DisableExplicitGC
-XX:+UseConcMarkSweepGC
-XX:+UseParNewGC
-XX:CMSInitiatingOccupancyFraction=85
Then, restart HBuilderX。
 
                         
                                

