It's all about the answers!

Ask a question

java.lang.OutOfMemoryError collecting process configuration data from Eclipse client


Anthony Krowiak (1111612) | asked Sep 14 '12, 10:00 a.m.
We have created an aspect editor to edit the process configuration elements for an operation participant we contribute via a plug-in.  When the aspect editor is opened, it displays a progress monitor while it collects data for the project areas to which the Eclipse client is connected.  For each project area, it gathers data such as the work item types defined in the project area, the attributes and enumerated values, link types etc.  for display on the various dialogs that the user can open to configure the configuration elements for the operation participant.  We have a particular customer - the only customer who has experienced this problem - who is getting an OutOfMemoryError while the aspect editor is collecting the data.  His Windows Task Manager shows that eclipse has used 643,548K of memory during the opening of the aspect editor.  Ultimately, he gets the OutOfMemoryError as shown below.  Is this just a simple case of not having enough memory allocated for his Eclipse client, or is there some other reason for this failure?



So I clicked Yes and looked at .log and saw this:
!ENTRY org.eclipse.core.jobs 4 2 2012-09-13 12:21:40.078
!MESSAGE An internal error occurred during: "".
!STACK 0
java.lang.OutOfMemoryError
    at org.apache.lucene.store.BufferedIndexOutput.<init>(BufferedIndexOutput.java:26)
    at org.apache.lucene.store.FSDirectory$FSIndexOutput.<init>(FSDirectory.java:638)
    at org.apache.lucene.store.FSDirectory.createOutput(FSDirectory.java:442)
    at org.apache.lucene.index.CompoundFileWriter.close(CompoundFileWriter.java:150)
    at org.apache.lucene.index.SegmentMerger.createCompoundFile(SegmentMerger.java:204)
    at org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:4263)
    at org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:3884)
    at org.apache.lucene.index.SerialMergeScheduler.merge(SerialMergeScheduler.java:36)
    at org.apache.lucene.index.IndexWriter.maybeMerge(IndexWriter.java:2417)
    at org.apache.lucene.index.IndexWriter.optimize(IndexWriter.java:2261)
    at org.apache.lucene.index.IndexWriter.optimize(IndexWriter.java:2218)
    at org.apache.lucene.index.IndexWriter.optimize(IndexWriter.java:2198)
    at com.ibm.team.fulltext.common.internal.index.IndexManagerImpl.optimize(IndexManagerImpl.java:481)
    at com.ibm.team.fulltext.common.internal.index.IndexManagerImpl.write(IndexManagerImpl.java:293)
    at com.ibm.team.fulltext.common.internal.index.IndexManagerImpl.index(IndexManagerImpl.java:166)
    at com.ibm.team.fulltext.client.internal.ClientFullTextImpl.index(ClientFullTextImpl.java:53)
    at com.ibm.team.fulltext.client.internal.ArtifactHistoryProvider$IndexSubmissionJob.runProtected(ArtifactHistoryProvider.java:144)
    at com.ibm.team.foundation.client.util.FoundationJob.run(FoundationJob.java:68)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

!ENTRY org.eclipse.core.jobs 4 2 2012-09-13 12:21:40.093
!MESSAGE An internal error occurred during: "Work Item Event Dispatcher".
!STACK 0
java.lang.OutOfMemoryError
    at com.ibm.team.repository.client.util.EventSource.getGenericListeners(EventSource.java:528)
    at com.ibm.team.repository.client.util.EventSource.sendEvents(EventSource.java:589)
    at com.ibm.team.repository.client.util.EventSource.release(EventSource.java:407)
    at com.ibm.team.repository.client.util.EventSource.queueEvent(EventSource.java:353)
    at com.ibm.team.repository.client.internal.Statistics.incStatisticValue(Statistics.java:183)
    at com.ibm.team.repository.client.internal.ItemManager$AbstractStore.notifyItemStatistics(ItemManager.java:179)
    at com.ibm.team.repository.client.internal.ItemManager$AbstractStore.notifyItemHits(ItemManager.java:137)
    at com.ibm.team.repository.client.internal.ItemManager$CurrentStore.fetchItems(ItemManager.java:366)
    at com.ibm.team.repository.client.internal.ItemManager.fetchPartialItemsPermissionAware(ItemManager.java:1153)
    at com.ibm.team.workitem.client.internal.AuditableClient.resolveAuditablesPermissionAware(AuditableClient.java:155)
    at com.ibm.team.workitem.client.internal.WorkItemClient$InternalListener.workItemChanged(WorkItemClient.java:211)
    at com.ibm.team.workitem.client.internal.WorkItemClient$InternalListener.access$0(WorkItemClient.java:196)
    at com.ibm.team.workitem.client.internal.WorkItemClient$InternalListener$1.run(WorkItemClient.java:188)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at com.ibm.team.workitem.client.internal.util.EventDispatcher$InternalJob.runQueue(EventDispatcher.java:88)
    at com.ibm.team.workitem.client.internal.util.EventDispatcher$InternalJob.access$1(EventDispatcher.java:75)
    at com.ibm.team.workitem.client.internal.util.EventDispatcher$InternalJob$2.run(EventDispatcher.java:65)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at com.ibm.team.workitem.client.internal.util.EventDispatcher$InternalJob.internalRun(EventDispatcher.java:71)
    at com.ibm.team.workitem.client.internal.util.EventDispatcher$InternalJob.runProtected(EventDispatcher.java:42)
    at com.ibm.team.foundation.client.util.FoundationJob.run(FoundationJob.java:68)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

!ENTRY org.eclipse.core.jobs 4 2 2012-09-13 12:21:40.156
!MESSAGE An internal error occurred during: "Loading News from 'Build Events for My Teams on Sandbox'".
!STACK 0
java.lang.OutOfMemoryError
    at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:208)
    at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:151)
    at java.security.AccessController.doPrivileged(AccessController.java:241)
    at sun.nio.ch.PipeImpl.<init>(PipeImpl.java:188)
    at sun.nio.ch.SelectorProviderImpl.openPipe(SelectorProviderImpl.java:45)
    at java.nio.channels.Pipe.open(Pipe.java:148)
    at sun.nio.ch.WindowsSelectorImpl.<init>(WindowsSelectorImpl.java:192)
    at sun.nio.ch.WindowsSelectorProvider.openSelector(WindowsSelectorProvider.java:53)
    at sun.nio.ch.Util.getTemporarySelector(Util.java:159)
    at sun.nio.ch.SocketAdaptor$SocketInputStream.read(SocketAdaptor.java:235)
    at sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:103)
    at com.ibm.team.repository.transport.client.InterruptableSocket$InterruptableSocketInputStream.read(InterruptableSocket.java:583)
    at com.ibm.jsse2.a.a(a.java:56)
    at com.ibm.jsse2.a.a(a.java:238)
    at com.ibm.jsse2.jc.a(jc.java:121)
    at com.ibm.jsse2.jc.g(jc.java:444)
    at com.ibm.jsse2.jc.a(jc.java:1)
    at com.ibm.jsse2.jc.startHandshake(jc.java:35)
    at com.ibm.team.repository.transport.client.SecureInterruptableSocketFactory.createSocket(SecureInterruptableSocketFactory.java:142)
    at com.ibm.team.repository.transport.client.SecureInterruptableSocketFactory.createSocket(SecureInterruptableSocketFactory.java:302)
    at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
    at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)
    at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
    at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
    at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
    at com.ibm.team.repository.transport.client.ClientHttpUtil.executePrimitiveRequest(ClientHttpUtil.java:1161)
    at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:344)
    at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:307)
    at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:211)
    at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:219)
    at com.ibm.team.repository.transport.client.TeamRestServiceClient$RestClientConnection.executeMethod(TeamRestServiceClient.java:521)
    at com.ibm.team.repository.transport.client.TeamRestServiceClient$RestClientConnection.doMethod(TeamRestServiceClient.java:300)
    at com.ibm.team.repository.transport.client.TeamRestServiceClient$RestClientConnection.doGet(TeamRestServiceClient.java:229)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:618)
    at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invokeServiceCall(ServiceInterfaceProxy.java:164)
    at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invoke(ServiceInterfaceProxy.java:88)
    at com.ibm.team.repository.client.internal.RestServiceClientProxy$RestClientConnectionProxy.invoke(RestServiceClientProxy.java:116)
    at $Proxy18.doGet(Unknown Source)
    at com.ibm.team.feed.core.internal.dao.ConnectionManager$2.run(ConnectionManager.java:202)
    at com.ibm.team.feed.core.internal.dao.ConnectionManager$2.run(ConnectionManager.java:1)
    at com.ibm.team.repository.client.internal.TeamRepository$3.run(TeamRepository.java:1261)
    at com.ibm.team.repository.common.transport.CancelableCaller.call(CancelableCaller.java:79)
    at com.ibm.team.repository.client.internal.TeamRepository.callCancelableService(TeamRepository.java:1254)
    at com.ibm.team.feed.core.internal.dao.ConnectionManager.getInputStream(ConnectionManager.java:198)
    at com.ibm.team.feed.core.internal.dao.FeedCreator.internalParseFeed(FeedCreator.java:117)
    at com.ibm.team.feed.core.internal.dao.FeedCreator.parseFeed(FeedCreator.java:71)
    at com.ibm.team.feed.core.internal.LoadManager$2.download(LoadManager.java:193)
    at com.ibm.team.feed.core.internal.LoadManager$2.runProtected(LoadManager.java:149)
    at com.ibm.team.foundation.client.util.FoundationJob.run(FoundationJob.java:68)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

!ENTRY com.ibm.team.fulltext.client 4 0 2012-09-13 12:21:42.203
!MESSAGE Exception running ''
!STACK 0
java.lang.IllegalStateException: this writer hit an OutOfMemoryError; cannot commit
    at org.apache.lucene.index.IndexWriter.prepareCommit(IndexWriter.java:3353)
    at org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:3408)
    at com.ibm.team.fulltext.common.internal.index.IndexManagerImpl.write(IndexManagerImpl.java:255)
    at com.ibm.team.fulltext.common.internal.index.IndexManagerImpl.index(IndexManagerImpl.java:166)
    at com.ibm.team.fulltext.client.internal.ClientFullTextImpl.index(ClientFullTextImpl.java:53)
    at com.ibm.team.fulltext.client.internal.ArtifactHistoryProvider$IndexSubmissionJob.runProtected(ArtifactHistoryProvider.java:144)
    at com.ibm.team.foundation.client.util.FoundationJob.run(FoundationJob.java:68)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

!ENTRY org.eclipse.equinox.security 4 0 2012-09-13 12:22:22.015
!MESSAGE Unable to save secure preferences.
!STACK 0
java.io.FileNotFoundException: C:\Documents and Settings\Administrator\.eclipse\org.eclipse.equinox.security\secure_storage (Access is denied.)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:205)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:157)
    at org.eclipse.equinox.internal.security.storage.StorageUtils.getOutputStream(StorageUtils.java:80)
    at org.eclipse.equinox.internal.security.storage.SecurePreferencesRoot.flush(SecurePreferencesRoot.java:187)
    at org.eclipse.equinox.internal.security.storage.SecurePreferencesMapper.stop(SecurePreferencesMapper.java:113)
    at org.eclipse.equinox.internal.security.auth.AuthPlugin.stop(AuthPlugin.java:74)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:843)
    at java.security.AccessController.doPrivileged(AccessController.java:241)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:836)
    at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:474)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:546)
    at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1098)
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:593)
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:261)
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:216)
    at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.suspend(InternalSystemBundle.java:266)
    at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:685)
    at org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:583)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(EclipseStarter.java:409)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:200)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:618)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)


Comments
Anthony Krowiak commented Oct 04 '12, 8:55 a.m. | edited May 20 '13, 5:41 a.m.

Here's another trace.  Any chance I can get a response?

!ENTRY com.ibm.team.apt.client 4 0 2012-10-03 18:05:34.343
!MESSAGE Exception running ''
!STACK 0
com.ibm.team.repository.common.transport.ServiceMethodInvocationError: <wbr> java.lang.OutOfMemoryError
    at com.ibm.team.repository.transport.client.RemoteTeamService.getAppropri <wbr> ateException(RemoteTeamService.java:644)
    at com.ibm.team.repository.transport.client.RemoteTeamService.executeMeth <wbr> od(RemoteTeamService.java:510)
    at com.ibm.team.repository.transport.client.RemoteTeamService.invoke(Remo <wbr> teTeamService.java:202)
    at com.ibm.team.repository.transport.client.ServiceInvocationHandler.invo <wbr> ke(ServiceInvocationHandler.java:43)
    at $Proxy1.fetchOrRefreshItems(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess <wbr> orImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:618)
    at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invokeSe <wbr> rviceCall(ServiceInterfaceProxy.java:164)
    at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invoke(S <wbr> erviceInterfaceProxy.java:88)
    at $Proxy1.fetchOrRefreshItems(Unknown Source)
    at com.ibm.team.repository.client.internal.ItemManager$4.run(ItemManager. <wbr> java:1674)
    at com.ibm.team.repository.client.internal.ItemManager$4.run(ItemManager. <wbr> java:1)
    at com.ibm.team.repository.client.internal.TeamRepository$3.run(TeamRepos <wbr> itory.java:1261)
    at com.ibm.team.repository.common.transport.CancelableCaller.call(Cancela <wbr> bleCaller.java:79)
    at com.ibm.team.repository.client.internal.TeamRepository.callCancelableS <wbr> ervice(TeamRepository.java:1254)
    at com.ibm.team.repository.client.internal.TeamPlatformObject.callCancela <wbr> bleService(TeamPlatformObject.java:42)
    at com.ibm.team.repository.client.internal.ItemManager.internalFetchItems <wbr> (ItemManager.java:1669)
    at com.ibm.team.repository.client.internal.ItemManager.access$3(ItemManag <wbr> er.java:1627)
    at com.ibm.team.repository.client.internal.ItemManager$AbstractStore.retr <wbr> ieveItems(ItemManager.java:230)
    at com.ibm.team.repository.client.internal.ItemManager$CurrentStore.fetch <wbr> Items(ItemManager.java:375)
    at com.ibm.team.repository.client.internal.ItemManager.fetchPartialItems( <wbr> ItemManager.java:1136)
    at com.ibm.team.apt.internal.client.IterationPlanClient$CacheCleaner.runP <wbr> rotected(IterationPlanClient.java:248)
    at com.ibm.team.foundation.client.util.FoundationJob.run(FoundationJob.ja <wbr> va:68)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.lang.OutOfMemoryError
    at java.lang.reflect.Array.newArrayImpl(Native Method)
    at java.lang.reflect.Array.newInstance(Array.java:283)
    at org.eclipse.emf.ecore.util.EcoreEList.newData(EcoreEList.java:63)
    at org.eclipse.emf.common.util.BasicEList.grow(BasicEList.java:733)
    at org.eclipse.emf.common.util.BasicEList.addUnique(BasicEList.java:422)
    at org.eclipse.emf.common.notify.impl.NotifyingListImpl.doAddUnique(Notif <wbr> yingListImpl.java:331)
    at org.eclipse.emf.common.notify.impl.NotifyingListImpl.addUnique(Notifyi <wbr> ngListImpl.java:315)
    at org.eclipse.emf.ecore.xmi.impl.XMLHelperImpl.setValue(XMLHelperImpl.ja <wbr> va:1179)
    at org.eclipse.emf.ecore.xmi.impl.XMLHandler.setFeatureValue(XMLHandler.j <wbr> ava:2657)
    at org.eclipse.emf.ecore.xmi.impl.XMLHandler.setFeatureValue(XMLHandler.j <wbr> ava:2647)
    at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObjectFromFeatureType( <wbr> XMLHandler.java:2166)
    at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObject(XMLHandler.java <wbr> :2034)
    at org.eclipse.emf.ecore.xmi.impl.XMLHandler.handleFeature(XMLHandler.jav <wbr> a:1839)
    at com.ibm.team.repository.common.internal.marshal.util.WebServicesSAXXML <wbr> Handler.handleFeature(WebServicesSAXXMLHandler.java:61)
    at org.eclipse.emf.ecore.xmi.impl.XMLHandler.processElement(XMLHandler.ja <wbr> va:1023)
    at org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHandler.java <wbr> :1001)
    at org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHandler.java <wbr> :712)
    at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
    at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unkno <wbr> wn Source)
    at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unkno <wbr> wn Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentD <wbr> ispatcher.dispatch(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unk <wbr> nown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
    at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:181)
    at com.ibm.team.repository.common.internal.marshal.util.WebServicesXMLLoa <wbr> dImpl.load(WebServicesXMLLoadImpl.java:76)
    at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLResourceImpl. <wbr> java:180)
    at com.ibm.team.repository.common.internal.marshal.impl.EObjectMarshaller <wbr> .demarshalInputStreamToObject(EObjectMarshaller.java:555)
    at com.ibm.team.repository.transport.client.RemoteTeamService.demarshallE <wbr> nvelope(RemoteTeamService.java:615)
    at com.ibm.team.repository.transport.client.RemoteTeamService.invokePost( <wbr> RemoteTeamService.java:546)
    at com.ibm.team.repository.transport.client.RemoteTeamService.executeMeth <wbr> od(RemoteTeamService.java:485)
    ... 23 more

!ENTRY org.eclipse.core.jobs 4 2 2012-10-03 18:06:38.843
!MESSAGE An internal error occurred during: "Work Item Event Dispatcher".
!STACK 0
java.lang.OutOfMemoryError
    at $Proxy22.sameItemId(Unknown Source)
    at com.ibm.team.workitem.common.internal.model.impl.WorkItemImpl.findIn(W <wbr> orkItemImpl.java:3651)
    at com.ibm.team.workitem.common.internal.model.impl.WorkItemImpl.contains <wbr> (WorkItemImpl.java:3646)
    at com.ibm.team.workitem.common.internal.model.impl.WorkItemImpl.hasCusto <wbr> mAttribute(WorkItemImpl.java:3014)
    at com.ibm.team.workitem.common.internal.model.impl.WorkItemImpl.hasAttri <wbr> bute(WorkItemImpl.java:2999)
    at com.ibm.team.workitem.common.internal.model.impl.WorkItemImpl.isAttrib <wbr> uteSet(WorkItemImpl.java:2980)
    at com.ibm.team.workitem.client.internal.WorkItemClient$InternalListener. <wbr> workItemChanged(WorkItemClient.java:218)
    at com.ibm.team.workitem.client.internal.WorkItemClient$InternalListener. <wbr> access$0(WorkItemClient.java:196)
    at com.ibm.team.workitem.client.internal.WorkItemClient$InternalListener$ <wbr> 1.run(WorkItemClient.java:188)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at com.ibm.team.workitem.client.internal.util.EventDispatcher$InternalJob <wbr> .runQueue(EventDispatcher.java:88)
    at com.ibm.team.workitem.client.internal.util.EventDispatcher$InternalJob <wbr> .access$1(EventDispatcher.java:75)
    at com.ibm.team.workitem.client.internal.util.EventDispatcher$InternalJob <wbr> $2.run(EventDispatcher.java:65)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at com.ibm.team.workitem.client.internal.util.EventDispatcher$InternalJob <wbr> .internalRun(EventDispatcher.java:71)
    at com.ibm.team.workitem.client.internal.util.EventDispatcher$InternalJob <wbr> .runProtected(EventDispatcher.java:42)
    at com.ibm.team.foundation.client.util.FoundationJob.run(FoundationJob.ja <wbr> va:68)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

!ENTRY org.eclipse.core.jobs 4 2 2012-10-03 18:06:38.859
!MESSAGE An internal error occurred during: "".
!STACK 0
java.lang.OutOfMemoryError
    at org.apache.lucene.store.BufferedIndexInput.refill(BufferedIndexInput.j <wbr> ava:154)
    at org.apache.lucene.store.BufferedIndexInput.readByte(BufferedIndexInput <wbr> .java:38)
    at org.apache.lucene.store.IndexInput.readVInt(IndexInput.java:78)
    at org.apache.lucene.index.CompoundFileReader.<init>(CompoundFileReader.j <wbr> ava:73)
    at org.apache.lucene.index.SegmentReader.initialize(SegmentReader.java:32 <wbr> 1)
    at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:306)
    at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:260)
    at org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:4220) <wbr>
    at org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:3884)
    at org.apache.lucene.index.SerialMergeScheduler.merge(SerialMergeSchedule <wbr> r.java:36)
    at org.apache.lucene.index.IndexWriter.maybeMerge(IndexWriter.java:2417)
    at org.apache.lucene.index.IndexWriter.maybeMerge(IndexWriter.java:2412)
    at org.apache.lucene.index.IndexWriter.maybeMerge(IndexWriter.java:2408)
    at org.apache.lucene.index.IndexWriter.flush(IndexWriter.java:3451)
    at org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:20 <wbr> 65)
    at org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:20 <wbr> 24)
    at com.ibm.team.fulltext.common.internal.index.IndexManagerImpl.write(Ind <wbr> exManagerImpl.java:275)
    at com.ibm.team.fulltext.common.internal.index.IndexManagerImpl.index(Ind <wbr> exManagerImpl.java:166)
    at com.ibm.team.fulltext.client.internal.ClientFullTextImpl.index(ClientF <wbr> ullTextImpl.java:53)
    at com.ibm.team.fulltext.client.internal.ArtifactHistoryProvider$IndexSub <wbr> missionJob.runProtected(ArtifactHistoryProvider.java:144)
    at com.ibm.team.foundation.client.util.FoundationJob.run(FoundationJob.ja <wbr> va:68)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

!ENTRY org.eclipse.equinox.security 4 0 2012-10-03 18:07:12.140
!MESSAGE Unable to save secure preferences.
!STACK 0
java.io.FileNotFoundException: C:\Documents and Settings\Administrator.eclipse\org.eclipse.equinox.security\secure_st <wbr> orage (Access is denied.)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:205)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:157)
    at org.eclipse.equinox.internal.security.storage.StorageUtils.getOutputSt <wbr> ream(StorageUtils.java:80)
    at org.eclipse.equinox.internal.security.storage.SecurePreferencesRoot.fl <wbr> ush(SecurePreferencesRoot.java:187)
    at org.eclipse.equinox.internal.security.storage.SecurePreferencesMapper. <wbr> stop(SecurePreferencesMapper.java:113)
    at org.eclipse.equinox.internal.security.auth.AuthPlugin.stop(AuthPlugin. <wbr> java:74)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(Bundl <wbr> eContextImpl.java:843)
    at java.security.AccessController.doPrivileged(AccessController.java:241) <wbr>
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(Bundle <wbr> ContextImpl.java:836)
    at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleH <wbr> ost.java:474)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(Abstra <wbr> ctBundle.java:546)
    at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Frame <wbr> work.java:1098)
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(Sta <wbr> rtLevelManager.java:593)
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartL <wbr> evel(StartLevelManager.java:261)
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(St <wbr> artLevelManager.java:216)
    at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.suspend( <wbr> InternalSystemBundle.java:266)
    at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework. <wbr> java:685)
    at org.eclipse.osgi.framework.internal.core.Framework.close(Framework.jav <wbr> a:583)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(EclipseStarte <wbr> r.java:409)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.jav <wbr> a:200)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j <wbr> ava:79)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess <wbr> orImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:618)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)




Krzysztof Kaźmierczyk commented May 20 '13, 5:44 a.m.

  Hi Anthony,
Do you still have the issue? To investigate that the best way is to create new PMR for RTC support.

3 answers



permanent link
Piotr Aniola (3.6k1534) | answered May 20 '13, 6:13 a.m.
600MB doesn't sound like an awful lot. You can try setting the Xmx higher in eclipse.ini, I suppose this may help.

permanent link
Indradri Basu (1.8k1514) | answered May 20 '13, 6:15 a.m.
edited May 20 '13, 6:15 a.m.
You can try allocating more memory to the eclipse client. Also check how much physical memory is available in the machine before you increase it in the eclipse client. Another point is to check if there are enough disk space available for the virtual memory to work. Generally it is twice that of physical memory.

permanent link
Anthony Krowiak (1111612) | answered May 20 '13, 8:45 a.m.
I've since retooled to code to cache the data on an as-needed basis and was able to get around this problem.  We tried increasing the memory to no avail.

Your answer


Register or to post your answer.