- This topic has 5 replies, 2 voices, and was last updated 17 years, 9 months ago by Riyad Kalla.
-
AuthorPosts
-
brownmikMemberI recently upgraded to MyEclipse 5.1 and Eclipse 3.2 on Win XP Prof SP2. I’m having an odd problem where Eclipse will start disk paging like mad and take up > 95% of the CPU. It basically renders my entire PC unusable for 5-10 minutes.
So I used StackTrace v2.0.9 from AdaptJ to see what the heck Eclipse is doing. The offending thread appears to be the JSP Indexer:
“Worker-388” prio=5 tid=0x2f2bf280 nid=0x468 runnable [0x31b5f000..0x31b5fd68]
at java.io.WinNTFileSystem.getBooleanAttributes(Native Method)
at java.io.File.isFile(File.java:747)
at org.eclipse.core.internal.localstore.Bucket.load(Bucket.java:286)
at org.eclipse.core.internal.properties.PropertyBucket.load(PropertyBucket.java:252)
at org.eclipse.core.internal.localstore.Bucket.load(Bucket.java:266)
at org.eclipse.core.internal.localstore.BucketTree.loadBucketFor(BucketTree.java:114)
at org.eclipse.core.internal.properties.PropertyManager2.getProperty(PropertyManager2.java:132)
– locked <0x05a51740> (a org.eclipse.core.internal.properties.PropertyManager2)
at org.eclipse.core.internal.resources.Resource.getPersistentProperty(Resource.java:999)
at org.eclipse.jst.jsp.core.internal.java.JSPTranslator.getELTranslatorProperty(JSPTranslator.java:345)
at org.eclipse.jst.jsp.core.internal.java.JSPTranslator.getELTranslatorProperty(JSPTranslator.java:325)
at org.eclipse.jst.jsp.core.internal.java.JSPTranslator.configure(JSPTranslator.java:255)
at org.eclipse.jst.jsp.core.internal.java.JSPTranslator.reset(JSPTranslator.java:400)
at org.eclipse.jst.jsp.core.internal.java.JSPTranslationAdapter.getTranslator(JSPTranslationAdapter.java:163)
at org.eclipse.jst.jsp.core.internal.java.JSPTranslationAdapter.getJSPTranslation(JSPTranslationAdapter.java:126)
– locked <0x02f23c28> (a org.eclipse.jst.jsp.core.internal.java.JSPTranslationAdapter)
at org.eclipse.jst.jsp.core.internal.java.search.JSPSearchDocument.getJSPTranslation(JSPSearchDocument.java:120)
at org.eclipse.jst.jsp.core.internal.java.search.JSPSearchDocument.getPath(JSPSearchDocument.java:160)
at org.eclipse.jst.jsp.core.internal.java.search.JavaSearchDocumentDelegate.<init>(JavaSearchDocumentDelegate.java:30)
at org.eclipse.jst.jsp.core.internal.java.search.JSPSearchSupport.createSearchDocument(JSPSearchSupport.java:401)
at org.eclipse.jst.jsp.core.internal.java.search.JSPSearchSupport.addJspFile(JSPSearchSupport.java:295)
at org.eclipse.jst.jsp.core.internal.java.search.JSPIndexManager$ProcessFilesJob.run(JSPIndexManager.java:262)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)We have 3000+ JSP files/fragments. Is there a way to turn this off?
Here’s my Eclipse config:
SNIP, for future reference please use MyEclipse > Installation Summary > Installation Details
brownmikMemberActually, other thread dumps point to a different culprit – it’s trying to redraw text areas and scroll bars…? Weird – because I have only one Java editor open.
Full thread dump Java HotSpot(TM) Client VM (1.5.0_10-b03 mixed mode, sharing):
“StackTrace Remote Thread” prio=6 tid=0x2e0b73f8 nid=0x914 runnable [0x00000000..0x318dfb6c]
“Cleanup” daemon prio=6 tid=0x2eda65a8 nid=0x1740 runnable [0x31bef000..0x31befce8]
at java.net.PlainDatagramSocketImpl.receive0(Native Method)
– locked <0x076e16b0> (a java.net.PlainDatagramSocketImpl)
at java.net.PlainDatagramSocketImpl.receive(Unknown Source)
– locked <0x076e16b0> (a java.net.PlainDatagramSocketImpl)
at java.net.DatagramSocket.receive(Unknown Source)
– locked <0x076e16f0> (a java.net.DatagramPacket)
– locked <0x076e1710> (a java.net.MulticastSocket)
at com.genuitec.eclipse.core.D$A.run(Unknown Source)“Data Store Monitor [jdbc:mysql://peng-dyn2.dev.netsol.com/assettracker] ping every 60 seconds” prio=6 tid=0x2ddda808 nid=0x154c waiting on condition [0x2e8af000..0x2e8afbe8]
at java.lang.Thread.sleep(Native Method)
at storefront.tools.core.datastore.DataStore$DataStoreMonitor.run(DataStore.java:96)“Worker-7” prio=6 tid=0x2cfe8e48 nid=0x17a0 in Object.wait() [0x2e82f000..0x2e82fce8]
at java.lang.Object.wait(Native Method)
– waiting on <0x05379df8> (a org.eclipse.core.internal.jobs.WorkerPool)
at org.eclipse.core.internal.jobs.WorkerPool.sleep(WorkerPool.java:173)
– locked <0x05379df8> (a org.eclipse.core.internal.jobs.WorkerPool)
at org.eclipse.core.internal.jobs.WorkerPool.startJob(WorkerPool.java:205)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:51)“Worker-3” prio=6 tid=0x2cc48d90 nid=0x1730 in Object.wait() [0x2e61f000..0x2e61fae8]
at java.lang.Object.wait(Native Method)
– waiting on <0x05379df8> (a org.eclipse.core.internal.jobs.WorkerPool)
at org.eclipse.core.internal.jobs.WorkerPool.sleep(WorkerPool.java:173)
– locked <0x05379df8> (a org.eclipse.core.internal.jobs.WorkerPool)
at org.eclipse.core.internal.jobs.WorkerPool.startJob(WorkerPool.java:205)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:51)“Worker-2” prio=6 tid=0x2ce08340 nid=0xad0 in Object.wait() [0x2e59f000..0x2e59fb68]
at java.lang.Object.wait(Native Method)
– waiting on <0x05379df8> (a org.eclipse.core.internal.jobs.WorkerPool)
at org.eclipse.core.internal.jobs.WorkerPool.sleep(WorkerPool.java:173)
– locked <0x05379df8> (a org.eclipse.core.internal.jobs.WorkerPool)
at org.eclipse.core.internal.jobs.WorkerPool.startJob(WorkerPool.java:205)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:51)“org.eclipse.jdt.internal.ui.text.JavaReconciler” daemon prio=2 tid=0x2dc563f0 nid=0x364 in Object.wait() [0x2e40f000..0x2e40fc68]
at java.lang.Object.wait(Native Method)
– waiting on <0x05fa4770> (a org.eclipse.jface.text.reconciler.DirtyRegionQueue)
at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:176)
– locked <0x05fa4770> (a org.eclipse.jface.text.reconciler.DirtyRegionQueue)“Java indexing” daemon prio=4 tid=0x2cac8e50 nid=0x12d4 in Object.wait() [0x2dbbf000..0x2dbbfd68]
at java.lang.Object.wait(Native Method)
– waiting on <0x05dc0f78> (a org.eclipse.jdt.internal.core.search.indexing.IndexManager)
at java.lang.Object.wait(Unknown Source)
at org.eclipse.jdt.internal.core.search.processing.JobManager.run(JobManager.java:349)
– locked <0x05dc0f78> (a org.eclipse.jdt.internal.core.search.indexing.IndexManager)
at java.lang.Thread.run(Unknown Source)“Start Level Event Dispatcher” daemon prio=6 tid=0x2cd02e48 nid=0xaa8 in Object.wait() [0x2d10f000..0x2d10fae8]
at java.lang.Object.wait(Native Method)
– waiting on <0x05307700> (a org.eclipse.osgi.framework.eventmgr.EventManager$EventThread)
at java.lang.Object.wait(Unknown Source)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextEvent(EventManager.java:349)
– locked <0x05307700> (a org.eclipse.osgi.framework.eventmgr.EventManager$EventThread)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:287)“Framework Event Dispatcher” daemon prio=6 tid=0x2ca38310 nid=0x102c in Object.wait() [0x2d0cf000..0x2d0cfb68]
at java.lang.Object.wait(Native Method)
– waiting on <0x052f8a50> (a org.eclipse.osgi.framework.eventmgr.EventManager$EventThread)
at java.lang.Object.wait(Unknown Source)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextEvent(EventManager.java:349)
– locked <0x052f8a50> (a org.eclipse.osgi.framework.eventmgr.EventManager$EventThread)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:287)“State Data Manager” daemon prio=6 tid=0x2cc19ac0 nid=0x164c waiting on condition [0x2d08f000..0x2d08fbe8]
at java.lang.Thread.sleep(Native Method)
at org.eclipse.osgi.internal.baseadaptor.StateManager.run(StateManager.java:297)
at java.lang.Thread.run(Unknown Source)“Low Memory Detector” daemon prio=6 tid=0x00a117a0 nid=0x4f4 runnable [0x00000000..0x00000000]
“CompilerThread0” daemon prio=10 tid=0x00a10408 nid=0x10ec waiting on condition [0x00000000..0x2c9af6c8]
“Signal Dispatcher” daemon prio=10 tid=0x009e5690 nid=0x1320 runnable [0x00000000..0x00000000]
“Finalizer” daemon prio=8 tid=0x009e2608 nid=0xdec in Object.wait() [0x2c92f000..0x2c92fa68]
at java.lang.Object.wait(Native Method)
– waiting on <0x051e77d0> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
– locked <0x051e77d0> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
at java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)“Reference Handler” daemon prio=10 tid=0x009e1b30 nid=0xe90 in Object.wait() [0x2c8ef000..0x2c8efae8]
at java.lang.Object.wait(Native Method)
– waiting on <0x051e7850> (a java.lang.ref.Reference$Lock)
at java.lang.Object.wait(Unknown Source)
at java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)
– locked <0x051e7850> (a java.lang.ref.Reference$Lock)“main” prio=6 tid=0x00354b48 nid=0x1294 runnable [0x0006f000..0x0006fc0c]
at org.eclipse.swt.internal.win32.OS.SetScrollInfo(Native Method)
at org.eclipse.swt.widgets.ScrollBar.SetScrollInfo(ScrollBar.java:638)
at org.eclipse.swt.widgets.ScrollBar.setValues(ScrollBar.java:779)
at org.eclipse.swt.custom.StyledText.setScrollBars(StyledText.java:7313)
at org.eclipse.swt.custom.StyledText.resetCache(StyledText.java:6270)
at org.eclipse.swt.custom.StyledText.redrawRange(StyledText.java:5997)
at org.eclipse.jface.text.source.AnnotationPainter$SquigglesStrategy.draw(AnnotationPainter.java:122)
at org.eclipse.jface.text.source.AnnotationPainter.handleDrawRequest(AnnotationPainter.java:1233)
at org.eclipse.jface.text.source.AnnotationPainter.disablePainting(AnnotationPainter.java:380)
at org.eclipse.jface.text.source.AnnotationPainter.updatePainting(AnnotationPainter.java:793)
at org.eclipse.jface.text.source.AnnotationPainter.access$1(AnnotationPainter.java:792)
at org.eclipse.jface.text.source.AnnotationPainter$1.run(AnnotationPainter.java:920)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
– locked <0x077ba540> (a org.eclipse.swt.widgets.RunnableLock)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3325)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2971)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)“VM Thread” prio=10 tid=0x0035c900 nid=0x11a4 runnable
“VM Periodic Task Thread” prio=10 tid=0x00a129e8 nid=0x17bc waiting on condition
======
Memory
======Used: 43741080 (~42MB)
Free: 37462120 (~36MB)
Total: 81203200 (~77MB)
Max: 532742144 (~508MB)
[########=======………………………………………………………………………….]Available Processors: 1
brownmikMemberNo one can help with this?
Thanks,
Mike
Riyad KallaMemberDoh, Mike I completely missed this (forum software never notified me of the “new” post 4 weeks ago). Sorry about that.
What do your shortcut startup arguments look like and what does your eclipse.ini file look like on startup?
Also can you post the information from MyEclipse > Installation SUmmary > Installation Details for reference for us?
brownmikMemberHi! Sure – here we go:
Shortcut: C:\eclipse3.2\eclipse.exe -data C:\eclipse3.2\workspace -vm “C:\Program Files\Java\jre1.5.0_10\bin\javaw.exe” -vmargs -Xmx512M -XX:PermSize=64M -XX:MaxPermSize=128M
This one line is all I have in eclipse.ini:
-vmargs -Xms40m -Xmx256mHere’s the MyEclipse Installation Details:
*** Date:
Thursday, February 1, 2007 2:50:42 PM EST** System properties:
OS=WindowsXP
OS version=5.1
Java version=1.5.0_10*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 5.1.0 GA
Build id: 20061111-5.1.0-GA*** Eclipse details:
Eclipse SDKVersion: 3.2.1
Build id: M20060921-0945Eclipse Platform
Version: 3.2.1.r321_v20060921-b_XVA-INSQSyMtx
Build id: M20060629-1905Eclipse RCP
Version: 3.2.1.r321_v20060801-2ekW2BxmcpPUOoq
Build id: M20060629-1905Eclipse Java Development Tools
Version: 3.2.1.r321_v20060905-R4CM1Znkvre9wC-
Build id: M20060921-0945Eclipse Plug-in Development Environment
Version: 3.2.1.r321_v20060823-6vYLLdQ3Nk8DrFG
Build id: M20060921-0945Eclipse Project SDK
Version: 3.2.1.r321_v20060801-tQ1w49KnTArT0FZ
Build id: M20060921-0945Eclipse Graphical Editing Framework
Version: 3.2.1.v20060921
Build id: 20060921-1617Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-launcher
C:\eclipse3.2\eclipse.exe
-name
Eclipse
-showsplash
600
-exitdata
ab8_78
-data
C:\eclipse3.2\workspace
-vm
C:\Program Files\Java\jre1.5.0_10\bin\javaw.exe
Riyad KallaMemberHmm everything looks good. I will ask if there is a way to indirectly turn off the indexer at this time.
-
AuthorPosts