Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » JSDT: impossible to use in an middle Java/JavaScript project(JSDT/Eclipse freezes on edit of JavaScript Files)
JSDT: impossible to use in an middle Java/JavaScript project [message #1384900] Mon, 02 June 2014 21:38 Go to next message
Nikolai Raitsev is currently offline Nikolai Raitsev
Messages: 102
Registered: July 2009
Senior Member
Hi All.

Eclipse freezes reproducible if I'm trying to open/edit some JavaScript files. (e.g source code from angular.js) Please see screenshots.

The Heap fills with millions of jsdt.internal.compiler-Objects, that eats the entire Memory and GC is running non-stop. After few minutes its runs out of memory and crashes.

Please fix it, if possible. Same files opens without any problems in Brackets or IntelliJ, with auto completion and other useful stuff.

Best regards,

Nikolai

Here you can see my system properties:

applicationXMI=org.eclipse.ui.workbench/LegacyIDE.e4xmi
awt.toolkit=sun.lwawt.macosx.LWCToolkit
eclipse.application=org.eclipse.ui.ide.workbench
eclipse.buildId=4.3.0.M20130911-1000
eclipse.commands=-os
macosx
-ws
cocoa
-arch
x86_64
-showsplash
-launcher
/Users/nikolai/Downloads/eclipse/Eclipse.app/Contents/MacOS/eclipse
-name
Eclipse
--launcher.library
/Users/nikolai/Downloads/eclipse/Eclipse.app/Contents/MacOS//../../../plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.200.v20130807-1835/eclipse_1508.so
-startup
/Users/nikolai/Downloads/eclipse/Eclipse.app/Contents/MacOS//../../../plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.appendVmargs
-product
org.eclipse.epp.package.standard.product
-keyring
/Users/nikolai/.eclipse_keyring
-showlocation
-vm
/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/bin/../jre/lib/server/libjvm.dylib

eclipse.home.location=file:/Users/nikolai/Downloads/eclipse/
eclipse.launcher=/Users/nikolai/Downloads/eclipse/Eclipse.app/Contents/MacOS/eclipse
eclipse.launcher.name=Eclipse
eclipse.p2.MD5Check=false
eclipse.p2.data.area=@config.dir/../p2/
eclipse.p2.profile=epp.package.standard
eclipse.p2.unsignedPolicy=allow
eclipse.product=org.eclipse.epp.package.standard.product
eclipse.startTime=1401741953272
eclipse.vm=/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/bin/../jre/lib/server/libjvm.dylib
eclipse.vmargs=-Dosgi.requiredJavaVersion=1.7
-XstartOnFirstThread
-Xincgc
-Xss1m
-Duser.name=Nikolai Raitsev
-Dfile.encoding=UTF-8
-Declipse.p2.unsignedPolicy=allow
-Declipse.p2.MD5Check=false
-Xms512m
-Xmx1024m
-XX:NewSize=128m
-XX:PermSize=128m
-XX:MaxPermSize=512m
-XX:MaxPermHeapExpansion=20m
-XX:+UseConcMarkSweepGC
-XX:CMSInitiatingOccupancyFraction=70
-XX:+UseCMSInitiatingOccupancyOnly
-XX:+UseParNewGC
-XX:+CMSConcurrentMTEnabled
-XX:ConcGCThreads=2
-XX:ParallelGCThreads=2
-XX:+CMSIncrementalPacing
-XX:CMSIncrementalDutyCycleMin=0
-XX:CMSIncrementalDutyCycle=5
-XX:GCTimeRatio=49
-XX:MaxGCPauseMillis=20
-XX:GCPauseIntervalMillis=1000
-XX:+UseCMSCompactAtFullCollection
-XX:+CMSClassUnloadingEnabled
-XX:+DoEscapeAnalysis
-XX:+UseCompressedOops
-XX:+AggressiveOpts
-XX:+ExplicitGCInvokesConcurrentAndUnloadsClasses
-Xdock:icon=../Resources/Eclipse.icns
-Dorg.eclipse.swt.internal.carbon.smallFonts
-Dorg.eclipse.swt.browser.IEVersion=10001
-Dgrails.console.enable.interactive=false
-Dgrails.console.enable.terminal=false
-Djline.terminal=jline.UnsupportedTerminal
-Dgrails.console.class=grails.build.logging.GrailsEclipseConsole
-Djava.class.path=/Users/nikolai/Downloads/eclipse/Eclipse.app/Contents/MacOS//../../../plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar

equinox.use.ds=true
file.encoding=UTF-8
file.encoding.pkg=sun.io
file.separator=/
ftp.nonProxyHosts=local|*.local|169.254/16|*.169.254/16
gopherProxySet=false
gosh.args=--nointeractive
grails.console.class=grails.build.logging.GrailsEclipseConsole
grails.console.enable.interactive=false
grails.console.enable.terminal=false
guice.disable.misplaced.annotation.check=true
java.awt.graphicsenv=sun.awt.CGraphicsEnvironment
java.awt.printerjob=sun.lwawt.macosx.CPrinterJob
java.class.path=/Users/nikolai/Downloads/eclipse/Eclipse.app/Contents/MacOS//../../../plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
java.class.version=51.0
java.endorsed.dirs=/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/endorsed
java.ext.dirs=/Users/nikolai/Library/Java/Extensions:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/ext:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
java.home=/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre
java.io.tmpdir=/var/folders/hd/kf5_0qz563jbjzmjbhd232vr0000gn/T/
java.library.path=/Users/nikolai/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
java.rmi.server.randomIDs=true
java.runtime.name=Java(TM) SE Runtime Environment
java.runtime.version=1.7.0_45-b18
java.specification.name=Java Platform API Specification
java.specification.vendor=Oracle Corporation
java.specification.version=1.7
java.vendor=Oracle Corporation
java.vendor.url=http://java.oracle.com/
java.vendor.url.bug=http://bugreport.sun.com/bugreport/
java.version=1.7.0_45
java.vm.info=mixed mode
java.vm.name=Java HotSpot(TM) 64-Bit Server VM
java.vm.specification.name=Java Virtual Machine Specification
java.vm.specification.vendor=Oracle Corporation
java.vm.specification.version=1.7
java.vm.vendor=Oracle Corporation
java.vm.version=24.45-b08
jline.terminal=jline.UnsupportedTerminal
line.separator=\n
org.apache.commons.logging.Log=org.apache.commons.logging.impl.NoOpLog
org.eclipse.debug.ui.breakpoints.toggleFactoriesUsed=false
org.eclipse.equinox.launcher.splash.location=/Users/nikolai/Downloads/eclipse/plugins/org.eclipse.platform_4.3.2.v20140221-1700/splash.bmp
org.eclipse.equinox.simpleconfigurator.configUrl=file:org.eclipse.equinox.simpleconfigurator/bundles.info
org.eclipse.m2e.log.dir=/Users/nikolai/Documents/workspace/.metadata/.plugins/org.eclipse.m2e.logback.configuration
org.eclipse.swt.browser.IEVersion=10001
org.eclipse.swt.internal.carbon.smallFonts=
org.eclipse.update.reconcile=false
org.osgi.framework.executionenvironment=OSGi/Minimum-1.0,OSGi/Minimum-1.1,OSGi/Minimum-1.2,JRE-1.1,J2SE-1.2,J2SE-1.3,J2SE-1.4,J2SE-1.5,JavaSE-1.6,JavaSE-1.7
org.osgi.framework.language=de
org.osgi.framework.os.name=MacOSX
org.osgi.framework.os.version=10.9.3
org.osgi.framework.processor=x86-64
org.osgi.framework.system.capabilities=osgi.ee; osgi.ee="OSGi/Minimum"; version:List="1.0, 1.1, 1.2",osgi.ee; osgi.ee="JRE"; version:List="1.0, 1.1",osgi.ee; osgi.ee="JavaSE"; version:List="1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7"
org.osgi.framework.system.packages=javax.accessibility,javax.activation,javax.activity,javax.annotation,javax.annotation.processing,javax.crypto,javax.crypto.interfaces,javax.crypto.spec,javax.imageio,javax.imageio.event,javax.imageio.metadata,javax.imageio.plugins.bmp,javax.imageio.plugins.jpeg,javax.imageio.spi,javax.imageio.stream,javax.jws,javax.jws.soap,javax.lang.model,javax.lang.model.element,javax.lang.model.type,javax.lang.model.util,javax.management,javax.management.loading,javax.management.modelmbean,javax.management.monitor,javax.management.openmbean,javax.management.relation,javax.management.remote,javax.management.remote.rmi,javax.management.timer,javax.naming,javax.naming.directory,javax.naming.event,javax.naming.ldap,javax.naming.spi,javax.net,javax.net.ssl,javax.print,javax.print.attribute,javax.print.attribute.standard,javax.print.event,javax.rmi,javax.rmi.CORBA,javax.rmi.ssl,javax.script,javax.security.auth,javax.security.auth.callback,javax.security.auth.kerberos,javax.security.auth.login,javax.security.auth.spi,javax.security.auth.x500,javax.security.cert,javax.security.sasl,javax.sound.midi,javax.sound.midi.spi,javax.sound.sampled,javax.sound.sampled.spi,javax.sql,javax.sql.rowset,javax.sql.rowset.serial,javax.sql.rowset.spi,javax.swing,javax.swing.border,javax.swing.colorchooser,javax.swing.event,javax.swing.filechooser,javax.swing.plaf,javax.swing.plaf.basic,javax.swing.plaf.metal,javax.swing.plaf.multi,javax.swing.plaf.nimbus,javax.swing.plaf.synth,javax.swing.table,javax.swing.text,javax.swing.text.html,javax.swing.text.html.parser,javax.swing.text.rtf,javax.swing.tree,javax.swing.undo,javax.tools,javax.transaction,javax.transaction.xa,javax.xml,javax.xml.bind,javax.xml.bind.annotation,javax.xml.bind.annotation.adapters,javax.xml.bind.attachment,javax.xml.bind.helpers,javax.xml.bind.util,javax.xml.crypto,javax.xml.crypto.dom,javax.xml.crypto.dsig,javax.xml.crypto.dsig.dom,javax.xml.crypto.dsig.keyinfo,javax.xml.crypto.dsig.spec,javax.xml.datatype,javax.xml.namespace,javax.xml.parsers,javax.xml.soap,javax.xml.stream,javax.xml.stream.events,javax.xml.stream.util,javax.xml.transform,javax.xml.transform.dom,javax.xml.transform.sax,javax.xml.transform.stax,javax.xml.transform.stream,javax.xml.validation,javax.xml.ws,javax.xml.ws.handler,javax.xml.ws.handler.soap,javax.xml.ws.http,javax.xml.ws.soap,javax.xml.ws.spi,javax.xml.ws.spi.http,javax.xml.ws.wsaddressing,javax.xml.xpath,org.ietf.jgss,org.omg.CORBA,org.omg.CORBA_2_3,org.omg.CORBA_2_3.portable,org.omg.CORBA.DynAnyPackage,org.omg.CORBA.ORBPackage,org.omg.CORBA.portable,org.omg.CORBA.TypeCodePackage,org.omg.CosNaming,org.omg.CosNaming.NamingContextExtPackage,org.omg.CosNaming.NamingContextPackage,org.omg.Dynamic,org.omg.DynamicAny,org.omg.DynamicAny.DynAnyFactoryPackage,org.omg.DynamicAny.DynAnyPackage,org.omg.IOP,org.omg.IOP.CodecFactoryPackage,org.omg.IOP.CodecPackage,org.omg.Messaging,org.omg.PortableInterceptor,org.omg.PortableInterceptor.ORBInitInfoPackage,org.omg.PortableServer,org.omg.PortableServer.CurrentPackage,org.omg.PortableServer.POAManagerPackage,org.omg.PortableServer.POAPackage,org.omg.PortableServer.portable,org.omg.PortableServer.ServantLocatorPackage,org.omg.SendingContext,org.omg.stub.java.rmi,org.w3c.dom,org.w3c.dom.bootstrap,org.w3c.dom.css,org.w3c.dom.events,org.w3c.dom.html,org.w3c.dom.ls,org.w3c.dom.ranges,org.w3c.dom.stylesheets,org.w3c.dom.traversal,org.w3c.dom.views,org.w3c.dom.xpath,org.xml.sax,org.xml.sax.ext,org.xml.sax.helpers
org.osgi.framework.uuid=c063e1e3-96ea-0013-1ca7-fac21908e487
org.osgi.framework.vendor=Eclipse
org.osgi.framework.version=1.7.0
org.osgi.supports.framework.extension=true
org.osgi.supports.framework.fragment=true
org.osgi.supports.framework.requirebundle=true
os.arch=x86_64
os.name=Mac OS X
os.version=10.9.3
osgi.arch=x86_64
osgi.bundles=reference:file:org.eclipse.fx.osgi_0.9.0.201312220701.jar,reference:file:org.eclipse.equinox.weaving.hook_1.0.200.I20130319-1000.jar,reference:file:org.eclipse.equinox.simpleconfigurator_1.0.400.v20130327-2119.jar@1:start
osgi.bundles.defaultStartLevel=4
osgi.bundlestore=/Users/nikolai/Downloads/eclipse/configuration/org.eclipse.osgi/bundles
osgi.configuration.area=file:/Users/nikolai/Downloads/eclipse/configuration/
osgi.framework=file:/Users/nikolai/Downloads/eclipse/plugins/org.eclipse.osgi_3.9.1.v20130814-1242.jar
osgi.framework.extensions=reference:file:org.eclipse.fx.osgi_0.9.0.201312220701.jar,reference:file:org.eclipse.equinox.weaving.hook_1.0.200.I20130319-1000.jar
osgi.framework.shape=jar
osgi.framework.version=3.9.1.v20130814-1242
osgi.frameworkClassPath=., file:/Users/nikolai/Downloads/eclipse/plugins/org.eclipse.fx.osgi_0.9.0.201312220701.jar, file:/Users/nikolai/Downloads/eclipse/plugins/org.eclipse.equinox.weaving.hook_1.0.200.I20130319-1000.jar
osgi.install.area=file:/Users/nikolai/Downloads/eclipse/
osgi.instance.area=file:/Users/nikolai/Documents/workspace/
osgi.instance.area.default=file:/Users/nikolai/Documents/workspace/
osgi.logfile=/Users/nikolai/Documents/workspace/.metadata/.log
osgi.manifest.cache=/Users/nikolai/Downloads/eclipse/configuration/org.eclipse.osgi/manifests
osgi.nl=de_DE
osgi.os=macosx
osgi.requiredJavaVersion=1.7
osgi.splashLocation=/Users/nikolai/Downloads/eclipse/plugins/org.eclipse.platform_4.3.2.v20140221-1700/splash.bmp
osgi.splashPath=platform:/base/plugins/org.eclipse.platform
osgi.syspath=/Users/nikolai/Downloads/eclipse/plugins
osgi.tracefile=/Users/nikolai/Documents/workspace/.metadata/trace.log
osgi.user.area=file:/Users/nikolai/user/
osgi.ws=cocoa
path.separator=:
python.home=/Users/nikolai/Downloads/eclipse/plugins/org.python.pydev.jython_3.4.1.201403181715
python.path=/Users/nikolai/Downloads/eclipse/plugins/org.python.pydev.jython_3.4.1.201403181715/jysrc
python.security.respectJavaAccessibility=false
socksNonProxyHosts=local|*.local|169.254/16|*.169.254/16
sun.arch.data.model=64
sun.boot.class.path=/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/alt-rt.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/resources.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/rt.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/sunrsasign.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/jce.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/jfr.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib/JObjC.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/classes
sun.boot.library.path=/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/lib
sun.cpu.endian=little
sun.cpu.isalist=
sun.io.unicode.encoding=UnicodeBig
sun.jnu.encoding=UTF-8
sun.management.compiler=HotSpot 64-Bit Tiered Compilers
sun.os.patch.level=unknown
user.country=DE
user.dir=/Users/nikolai/Downloads/eclipse/Eclipse.app/Contents/MacOS
user.home=/Users/nikolai
user.language=de
user.timezone=Europe/Berlin

[Updated on: Mon, 02 June 2014 21:40]

Report message to a moderator

Re: JSDT: impossible to use in an middle Java/JavaScript project [message #1384901 is a reply to message #1384900] Mon, 02 June 2014 21:44 Go to previous messageGo to next message
Nikolai Raitsev is currently offline Nikolai Raitsev
Messages: 102
Registered: July 2009
Senior Member
Unfortunately I'm not able to upload any files here. So I created a Link to my dropbox. If someone can upload this files here directly, many thanks in advance.

Best regards,

Nikolai

https://www.dropbox.com/sh/ri735bicae07e97/AAC7fkVyeV3v2-botBFR6-wOa
Re: JSDT: impossible to use in an middle Java/JavaScript project [message #1397445 is a reply to message #1384901] Wed, 09 July 2014 18:49 Go to previous message
Oliver Hofer is currently offline Oliver Hofer
Messages: 1
Registered: July 2014
Junior Member
I have the same issue, when JSDT is installed and JS-File from AngularJS Project is opened.
Tried to copy/paste some JavaScript code when Eclipse Luna becomes unresponsive.
- Standard Luna installation, added Maven, AngularJS
- Does no linger crash, after JSDT is uninstalled
- OSX 10.9.4
- Version: Luna Release (4.4.0), Build id: 20140612-0600



Previous Topic:CSS content assist in HTML editor
Next Topic:Installed Facet Version problem
Goto Forum:
  


Current Time: Mon Oct 20 18:10:15 GMT 2014

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

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