Skip to content

Commit 5422e60

Browse files
kandyigrybkov
authored andcommitted
MAGETWO-88028: Table is full errors on same modify profile
1 parent 4979ddd commit 5422e60

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Price/IndexTableRowSizeEstimator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class IndexTableRowSizeEstimator implements \Magento\Framework\Indexer\IndexTabl
1515
/**
1616
* Calculated memory size for one record in catalog_product_index_price table
1717
*/
18-
const MEMORY_SIZE_FOR_ONE_ROW = 120;
18+
const MEMORY_SIZE_FOR_ONE_ROW = 200;
1919

2020
/**
2121
* @var \Magento\Store\Api\WebsiteManagementInterface

app/code/Magento/Catalog/Test/Unit/Model/ResourceModel/Product/Indexer/Price/IndexTableRowSizeEstimatorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ protected function setUp()
3838

3939
public function testEstimateRowSize()
4040
{
41-
$expectedValue = 2400000;
41+
$expectedValue = 4000000;
4242

4343
$this->websiteManagementMock->expects($this->once())->method('getCount')->willReturn(100);
4444
$collectionMock = $this->createMock(\Magento\Customer\Model\ResourceModel\Group\Collection::class);

0 commit comments

Comments
 (0)