summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdam Kocoloski <kocolosk@apache.org>2009-09-16 18:37:54 +0000
committerAdam Kocoloski <kocolosk@apache.org>2009-09-16 18:37:54 +0000
commit29b93930462628612da0ce6b85f5d0fb553f842f (patch)
treefed8c1a259ac3db792f2978f1d82ff765ac81972 /src
parent7b6a320a502e3eab87cf3dba1f24216c7150ddf3 (diff)
GC isn't happening for this process b/c heap is too small, so trigger it manually
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@815921 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r--src/couchdb/couch_rep_writer.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/couchdb/couch_rep_writer.erl b/src/couchdb/couch_rep_writer.erl
index e9538640..d88c3ee2 100644
--- a/src/couchdb/couch_rep_writer.erl
+++ b/src/couchdb/couch_rep_writer.erl
@@ -40,6 +40,7 @@ writer_loop(Parent, Reader, Target) ->
end,
Parent ! {writer_checkpoint, HighSeq},
couch_rep_att:cleanup(),
+ couch_util:should_flush(),
writer_loop(Parent, Reader, Target)
end.