Reduce memory growth during ledger fetching.

This commit is contained in:
JoelKatz
2013-02-07 17:33:29 -08:00
parent 8b2e866a21
commit aaad2f6edb

View File

@@ -498,6 +498,7 @@ void Ledger::saveAcceptedLedger(bool fromConsensus, LoadEvent::pointer event)
if (!fromConsensus)
{
decPendingSaves();
dropCache();
return;
}