diff options
author | Thomas Watson | 2015-01-16 14:56:51 +0000 |
---|---|---|
committer | Thomas Watson | 2015-01-16 14:56:51 +0000 |
commit | a464c1c67a96df050efb67d69a1692886ecc134e (patch) | |
tree | e452b2be34f7656d4ed26173f74735bcd20d06e8 | |
parent | d25dd9e060c989637bd3f9fdee68d81fb9dfcc62 (diff) | |
download | rt.equinox.framework-a464c1c67a96df050efb67d69a1692886ecc134e.tar.gz rt.equinox.framework-a464c1c67a96df050efb67d69a1692886ecc134e.tar.xz rt.equinox.framework-a464c1c67a96df050efb67d69a1692886ecc134e.zip |
Bug 457118 - OutOfMemoryError (Java Heap Space) when resolving bundlesI20150116-1000
- Remove unused constant
Change-Id: I3afbe65445c34dda39d3fefa023429114d137f7d
Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
-rw-r--r-- | bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/container/ModuleResolver.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/container/ModuleResolver.java b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/container/ModuleResolver.java index 0571ec5aa..8b93e7a67 100644 --- a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/container/ModuleResolver.java +++ b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/container/ModuleResolver.java @@ -466,7 +466,6 @@ final class ModuleResolver { } class ResolveProcess extends ResolveContext implements Comparator<Capability>, FelixResolveContext { - private static final int RESOLVE_REVISIONS_BATCH_SIZE = 100; class ResolveLogger extends Logger { private Map<Resource, ResolutionException> errors = null; @@ -969,7 +968,7 @@ final class ModuleResolver { } if (DEBUG_ROOTS) { - Debug.println("Resolver: resolve batch size: " + RESOLVE_REVISIONS_BATCH_SIZE); //$NON-NLS-1$ + Debug.println("Resolver: resolve batch size: " + resolverRevisionBatchSize); //$NON-NLS-1$ Debug.println("Resolver: time to resolve: " + (System.currentTimeMillis() - startTime) + "ms"); //$NON-NLS-1$ //$NON-NLS-2$ Debug.println("Resolver: max used memory: " + maxUsedMemory / (1024 * 1024) + "Mo"); //$NON-NLS-1$ //$NON-NLS-2$ } |