Bug 33035 - OutOfMemoryException while searching for references
Summary: OutOfMemoryException while searching for references
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: 2.1 RC2   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-25 12:18 EST by Kai-Uwe Maetzel CLA
Modified: 2004-07-12 11:41 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kai-Uwe Maetzel CLA 2003-02-25 12:18:44 EST
Build RC1

- start eclipse using SUN JDK 1.4.1 with a fresh workspace
- close Resource perspective
- open Java perspective
- create Java project
- import JUnit 3.7 in source
- compile
- open TextCase.java
- goto method setName(String)
- select "String" in the method declaration
- search for references in workspace
-> out of memory
Comment 1 Philipe Mulet CLA 2003-02-26 03:43:07 EST
Did you use VM args -Xms100Mb -Xmx250Mb ?
Comment 2 Jerome Lanneluc CLA 2003-02-28 11:00:54 EST
Changed MatchLocator to resolve 500 potential matches at once.
Also changed PotentialMatch to merge potential matches coming from the 
same .java file. So there is less potential matches to resolve.
Comment 3 David Audel CLA 2003-03-10 08:55:43 EST
Verified.
Comment 4 sid CLA 2004-07-12 11:37:47 EDT
I still see this with the 2.1.3 beow are the logs.. hence reopening the Bug

!SESSION Jul 12, 2004 10:04:06.104 ---------------------------------------------
java.version=1.4.2_04
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86 -dev –vmargs –Xms128M
–Xmx512M -install file:D:/eclipse/
!ENTRY org.eclipse.ui 4 4 Jul 12, 2004 10:04:06.104
!MESSAGE Unable to find Action Set: com.rational.clearcase.ActionSet
!ENTRY org.eclipse.jdt.ui 4 10001 Jul 12, 2004 10:16:20.805
!MESSAGE Internal Error
!STACK 0
java.lang.reflect.InvocationTargetException
	at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:283)
	at
org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:357)
	at org.eclipse.jdt.ui.actions.FindAction.run(FindAction.java:292)
	at
org.eclipse.jdt.ui.actions.FindReferencesAction.run(FindReferencesAction.java:83)
	at
org.eclipse.jdt.ui.actions.WorkingSetFindAction.run(WorkingSetFindAction.java:66)
	at org.eclipse.jdt.ui.actions.FindAction.run(FindAction.java:220)
	at
org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:191)
	at
org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:169)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:842)
	at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:456)
	at
org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:403)
	at
org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:397)
	at
org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:72)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
	at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
	at
org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
	at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
	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.basicRun(Main.java:291)
	at org.eclipse.core.launcher.Main.run(Main.java:747)
	at org.eclipse.core.launcher.Main.main(Main.java:583)
Caused by: java.lang.OutOfMemoryError
Comment 5 Jerome Lanneluc CLA 2004-07-12 11:41:00 EDT
2.1 branch is closed since 3.0 is out. Please try 3.0.