summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2007-10-01 11:58:46 (EDT)
committerEike Stepper2007-10-01 11:58:46 (EDT)
commitbf079c56ef6ecebfdc8bd4196be52d51ddf4566f (patch)
tree10d33ab323379463169bab19acce5fe74c385edd
parent164b86803716a95cdcd44a59e88fcd2fef353550 (diff)
downloadcdo-bf079c56ef6ecebfdc8bd4196be52d51ddf4566f.zip
cdo-bf079c56ef6ecebfdc8bd4196be52d51ddf4566f.tar.gz
cdo-bf079c56ef6ecebfdc8bd4196be52d51ddf4566f.tar.bz2
[203538] Limit memory consumption in CDORevisionResolverImpl
https://bugs.eclipse.org/bugs/show_bug.cgi?id=203538
-rw-r--r--plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/protocol/LoadRevisionRequest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/protocol/LoadRevisionRequest.java b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/protocol/LoadRevisionRequest.java
index 44102ab..e1bc7da 100644
--- a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/protocol/LoadRevisionRequest.java
+++ b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/protocol/LoadRevisionRequest.java
@@ -87,11 +87,11 @@ public class LoadRevisionRequest extends CDOClientRequest<List<CDORevisionImpl>>
// At this point, fetch size is more than one.
int fetchSize = fetchRules.size();
CDOID contextID = ruleManager.getContext();
-
+
out.writeInt(fetchSize);
out.writeInt(ruleManager.getLoadRevisionCollectionChunkSize());
CDOIDImpl.write(out, contextID);
-
+
for (CDOFetchRule fetchRule : fetchRules)
{
fetchRule.write(out);