[Rt-commit] rt branch, 4.2/stop-caching-while-importing, created. rt-4.2.1-54-gba37227
Kevin Falcone
falcone at bestpractical.com
Mon Dec 16 17:49:17 EST 2013
The branch, 4.2/stop-caching-while-importing has been created
at ba37227533e476618565c89591d18dbe649f08d3 (commit)
- Log -----------------------------------------------------------------
commit ba37227533e476618565c89591d18dbe649f08d3
Author: Kevin Falcone <falcone at bestpractical.com>
Date: Mon Dec 16 17:48:36 2013 -0500
Turn off DBIx::SearchBuilder caching while importing
This just causes lots of records to hang out in memory, bloating the
importer and eventually causing it to OOM.
Identical change to 4.2/stop-caching-while-serializing
diff --git a/sbin/rt-importer.in b/sbin/rt-importer.in
index 1a3d9df..6d39f52 100644
--- a/sbin/rt-importer.in
+++ b/sbin/rt-importer.in
@@ -76,6 +76,7 @@ BEGIN {
use RT;
RT::LoadConfig();
+RT->Config->Set(RecordBaseClass => "DBIx::SearchBuilder::Record");
RT::Init();
use RT::Migrate;
-----------------------------------------------------------------------
More information about the rt-commit
mailing list