diff --git a/writeengine/dictionary/we_dctnry.cpp b/writeengine/dictionary/we_dctnry.cpp index 40d48f8f2..3fa5d7f13 100644 --- a/writeengine/dictionary/we_dctnry.cpp +++ b/writeengine/dictionary/we_dctnry.cpp @@ -1115,7 +1115,7 @@ int Dctnry::insertDctnry(const int& sgnature_size, for (i = m_lastFbo; i < m_numBlocks; i++) { // @bug 3960: Add MAX_OP_COUNT check to handle case after bulk rollback - if ( ((m_freeSpace >= (size + m_totalHdrBytes)) || + if ( ((m_freeSpace >= size) || ((size > 8176) && (m_freeSpace > m_totalHdrBytes))) && (m_curOp < (MAX_OP_COUNT - 1)) ) {