Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » How to stop java indexer working when lanunching PDE debugger?
How to stop java indexer working when lanunching PDE debugger? [message #258070] Tue, 13 January 2009 03:06 Go to next message
Eclipse UserFriend
Originally posted by: lifesting.gmail.com

When I start to debug eclipse plugin that depends on JDT(core/ui), a
daemon thread(job) that index CompliantUnits also start in the launched
Eclipse, it occupied a lot of memory allocated for JVM but is usefulness
to development, it often cause OutOfMemory as blow:

Exception in thread "Java indexing" java.lang.OutOfMemoryError: Java
heap space
Exception in thread "Java indexing" java.lang.OutOfMemoryError: Java
heap space
at
org.eclipse.jdt.internal.core.index.DiskIndex$IntList.add(Di skIndex.java:73)
at
org.eclipse.jdt.internal.core.index.DiskIndex.copyQueryResul ts(DiskIndex.java:351)
at
org.eclipse.jdt.internal.core.index.DiskIndex.mergeWith(Disk Index.java:522)
at org.eclipse.jdt.internal.core.index.Index.save(Index.java:18 1)
......

Are there some parameters can be configured for Eclipse Application to
stop Indexing?


Thanks in advance!
Re: How to stop java indexer working when lanunching PDE debugger? [message #258098 is a reply to message #258070] Wed, 14 January 2009 12:33 Go to previous message
Eclipse UserFriend
David BY Chan wrote:
> When I start to debug eclipse plugin that depends on JDT(core/ui), a
> daemon thread(job) that index CompliantUnits also start in the launched
> Eclipse, it occupied a lot of memory allocated for JVM but is usefulness
> to development, it often cause OutOfMemory as blow:
>
> Exception in thread "Java indexing" java.lang.OutOfMemoryError: Java
> heap space
> Exception in thread "Java indexing" java.lang.OutOfMemoryError: Java
> heap space
> at
> org.eclipse.jdt.internal.core.index.DiskIndex$IntList.add(Di skIndex.java:73)
>
> at
> org.eclipse.jdt.internal.core.index.DiskIndex.copyQueryResul ts(DiskIndex.java:351)
>
> at
> org.eclipse.jdt.internal.core.index.DiskIndex.mergeWith(Disk Index.java:522)
> at org.eclipse.jdt.internal.core.index.Index.save(Index.java:18 1)
> ......
>
> Are there some parameters can be configured for Eclipse Application to
> stop Indexing?
>
>
> Thanks in advance!
>
>
>
Java Indexing cannot be configured not to run... This is done like this because
opening a type or any kind of search request definitely needs it.

However, it usually does not report OutOfMemory error and of course should never
do. There's perhaps something in your configuration making the indexing blowing
up and it would be nice if you could open a bug against JDT/Core with all
possible information helping us to understand and allowing us to reproduce
the problem:
- Eclipse build ID
- Other plugins installed
- VM arguments used to launch it
- Workspace info
- etc.

TIA
Previous Topic:Problem with EditTemplateDialog
Next Topic:building workspace
Goto Forum:
  


Current Time: Sun Apr 20 03:47:51 EDT 2025

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

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

Back to the top