diff --git a/plugins/CustomDimensions/Archiver.php b/plugins/CustomDimensions/Archiver.php
index <HASH>..<HASH> 100644
--- a/plugins/CustomDimensions/Archiver.php
+++ b/plugins/CustomDimensions/Archiver.php
@@ -8,6 +8,7 @@
  */
 namespace Piwik\Plugins\CustomDimensions;
 
+use Piwik\Common;
 use Piwik\Config;
 use Piwik\Metrics;
 use Piwik\Plugins\Actions\Metrics as ActionsMetrics;
@@ -123,6 +124,9 @@ class Archiver extends \Piwik\Plugin\Archiver
 
             $recordName = self::buildRecordNameForCustomDimensionId($dimension['idcustomdimension']);
             $this->getProcessor()->insertBlobRecord($recordName, $blob);
+
+            Common::destroy($table);
+            unset($this->dataArray);
         }
     }
Destroy temporarily created table in customdimensions archiver (#<I>)