Thank you. We will deliver it to our customers and await whether it works for them.
Hi @jamsharp !
Just want to double check if you are no longer experiencing any issues with the latest version of the GroupDocs.Search 26.6.1.
Thank you!
Hello,
Unfortunately, we can still observe the exception.
During an index operation of around 2 million files, I observed around 400 occurrences.
I removed all the duplicated callstacks. After that, there remained 15 different call stacks with that exception ![]()
"System.OverflowException: Arithmetic operation resulted in an overflow.\r\n at \u000E\u001A\u001B.\u0008()\r\n at \u000E\u001A\u001B.\u0002(Int32 \u0002, Int32 \u0008)\r\n at \u000E\u001A\u001B.\u0002(\u0002\u0002\u0017 \u0002)\r\n at \u000E\u0010\u0002.\u0008(Cancellation \u0002)\r\n at \u000E\u0010\u0002.\u0002(IndexRepository \u0002, Cancellation \u0008)\r\n at \u0002\u0003\u001B.\u0002(IndexRepository \u0002, MergeOptions \u0008, \u000F\u001A\u0017 \u0005, OperationType \u0006)"
"System.OverflowException: Arithmetic operation resulted in an overflow.\r\n at \u0008\u0010\u001A.\u0006()\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002()\r\n at \u0005\u0005\u001B.\u0002(\u0006\u001A\u0002 \u0002)\r\n at \u0008\u0002\u001B.\u0002(\u0005\u0005\u001B \u0002, \u0005\u0005\u001B \u0008)\r\n at \u0003\u0010\u0002.\u0002()\r\n at \u0003\u0010\u0002.\u0002(\u0008\u0019\u0003 \u0002, \u0008\u0015\u0003 \u0008, \u0003\u0017\u0002 \u0005, \u000F\u0019\u0017 \u0006)\r\n at \u0002\u0003\u001B.\u0002(Boolean \u0002, Int32 \u0008, \u0008\u0019\u0003 \u0005, \u0008\u0015\u0003 \u0006, \u0003\u0017\u0002 \u0003, OperationType \u000E)"
"System.OverflowException: Arithmetic operation resulted in an overflow.\r\n at \u0008\u0010\u001A.\u0006()\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002()\r\n at \u0005\u0005\u001B.\u0002(\u0006\u001A\u0002 \u0002)\r\n at \u0008\u0002\u001B.\u0002(\u0005\u0005\u001B \u0002, \u0005\u0005\u001B \u0008)\r\n at \u0003\u0010\u0002.\u0002()\r\n at \u0003\u0010\u0002.\u0002(\u0008\u0019\u0003 \u0002, \u0008\u0015\u0003 \u0008, \u0003\u0017\u0002 \u0005, \u000F\u0019\u0017 \u0006)\r\n at \u0002\u0003\u001B.\u0002(Boolean \u0002, Int32 \u0008, \u0008\u0019\u0003 \u0005, \u0008\u0015\u0003 \u0006, \u0003\u0017\u0002 \u0003, OperationType \u000E)"
"System.OverflowException: Arithmetic operation resulted in an overflow.\r\n at \u0008\u0010\u001A.\u0006()\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002()\r\n at \u0005\u0005\u001B.\u0002(\u0006\u001A\u0002 \u0002)\r\n at \u0008\u0002\u001B.\u0002(\u0005\u0005\u001B \u0002, \u0005\u0005\u001B \u0008)\r\n at \u0003\u0010\u0002.\u0002()\r\n at \u0003\u0010\u0002.\u0002(\u0008\u0019\u0003 \u0002, \u0008\u0015\u0003 \u0008, \u0003\u0017\u0002 \u0005, \u000F\u0019\u0017 \u0006)\r\n at \u0002\u0003\u001B.\u0002(Boolean \u0002, Int32 \u0008, \u0008\u0019\u0003 \u0005, \u0008\u0015\u0003 \u0006, \u0003\u0017\u0002 \u0003, OperationType \u000E)"
"System.OverflowException: Arithmetic operation resulted in an overflow.\r\n at \u0008\u0010\u001A.\u0006()\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002()\r\n at \u0005\u0005\u001B.\u0002(\u0006\u001A\u0002 \u0002)\r\n at \u0008\u0002\u001B.\u0002(\u0005\u0005\u001B \u0002, \u0005\u0005\u001B \u0008)\r\n at \u0003\u0010\u0002.\u0002()\r\n at \u0003\u0010\u0002.\u0002(\u0008\u0019\u0003 \u0002, \u0008\u0015\u0003 \u0008, \u0003\u0017\u0002 \u0005, \u000F\u0019\u0017 \u0006)\r\n at \u0002\u0003\u001B.\u0002(Boolean \u0002, Int32 \u0008, \u0008\u0019\u0003 \u0005, \u0008\u0015\u0003 \u0006, \u0003\u0017\u0002 \u0003, OperationType \u000E)"
"System.OverflowException: Arithmetic operation resulted in an overflow.\r\n at \u0008\u0010\u001A.\u0006()\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002()\r\n at \u0005\u0005\u001B.\u0002(\u0006\u001A\u0002 \u0002)\r\n at \u0008\u0002\u001B.\u0002(\u0005\u0005\u001B \u0002, \u0005\u0005\u001B \u0008)\r\n at \u0003\u0010\u0002.\u0002()\r\n at \u0003\u0010\u0002.\u0002(\u0008\u0019\u0003 \u0002, \u0008\u0015\u0003 \u0008, \u0003\u0017\u0002 \u0005, \u000F\u0019\u0017 \u0006)\r\n at \u0002\u0003\u001B.\u0002(Boolean \u0002, Int32 \u0008, \u0008\u0019\u0003 \u0005, \u0008\u0015\u0003 \u0006, \u0003\u0017\u0002 \u0003, OperationType \u000E)"
"System.OverflowException: Arithmetic operation resulted in an overflow.\r\n at \u0008\u0010\u001A.\u0006()\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002()\r\n at \u0005\u0005\u001B.\u0002(\u0006\u001A\u0002 \u0002)\r\n at \u0008\u0002\u001B.\u0002(\u0005\u0005\u001B \u0002, \u0005\u0005\u001B \u0008)\r\n at \u0003\u0010\u0002.\u0002()\r\n at \u0003\u0010\u0002.\u0002(\u0008\u0019\u0003 \u0002, \u0008\u0015\u0003 \u0008, \u0003\u0017\u0002 \u0005, \u000F\u0019\u0017 \u0006)\r\n at \u0002\u0003\u001B.\u0002(Boolean \u0002, Int32 \u0008, \u0008\u0019\u0003 \u0005, \u0008\u0015\u0003 \u0006, \u0003\u0017\u0002 \u0003, OperationType \u000E)"
"System.OverflowException: Arithmetic operation resulted in an overflow.\r\n at \u0008\u0010\u001A.\u0006()\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002()\r\n at \u0005\u0005\u001B.\u0002(\u0006\u001A\u0002 \u0002)\r\n at \u0008\u0002\u001B.\u0002(\u0005\u0005\u001B \u0002, \u0005\u0005\u001B \u0008)\r\n at \u0003\u0010\u0002.\u0002()\r\n at \u0003\u0010\u0002.\u0002(\u0008\u0019\u0003 \u0002, \u0008\u0015\u0003 \u0008, \u0003\u0017\u0002 \u0005, \u000F\u0019\u0017 \u0006)\r\n at \u0002\u0003\u001B.\u0002(Boolean \u0002, Int32 \u0008, \u0008\u0019\u0003 \u0005, \u0008\u0015\u0003 \u0006, \u0003\u0017\u0002 \u0003, OperationType \u000E)"
"System.OverflowException: Arithmetic operation resulted in an overflow.\r\n at \u0008\u0010\u001A.\u0006()\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002()\r\n at \u0005\u0005\u001B.\u0002(\u0006\u001A\u0002 \u0002)\r\n at \u0008\u0002\u001B.\u0002(\u0005\u0005\u001B \u0002, \u0005\u0005\u001B \u0008)\r\n at \u0003\u0010\u0002.\u0002()\r\n at \u0003\u0010\u0002.\u0002(\u0008\u0019\u0003 \u0002, \u0008\u0015\u0003 \u0008, \u0003\u0017\u0002 \u0005, \u000F\u0019\u0017 \u0006)\r\n at \u0002\u0003\u001B.\u0002(Boolean \u0002, Int32 \u0008, \u0008\u0019\u0003 \u0005, \u0008\u0015\u0003 \u0006, \u0003\u0017\u0002 \u0003, OperationType \u000E)"
"System.OverflowException: Arithmetic operation resulted in an overflow.\r\n at \u0008\u0010\u001A.\u0006()\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002()\r\n at \u0005\u0005\u001B.\u0002(\u0006\u001A\u0002 \u0002)\r\n at \u0008\u0002\u001B.\u0002(\u0005\u0005\u001B \u0002, \u0005\u0005\u001B \u0008)\r\n at \u0003\u0010\u0002.\u0002()\r\n at \u0003\u0010\u0002.\u0002(\u0008\u0019\u0003 \u0002, \u0008\u0015\u0003 \u0008, \u0003\u0017\u0002 \u0005, \u000F\u0019\u0017 \u0006)\r\n at \u0002\u0003\u001B.\u0002(Boolean \u0002, Int32 \u0008, \u0008\u0019\u0003 \u0005, \u0008\u0015\u0003 \u0006, \u0003\u0017\u0002 \u0003, OperationType \u000E)"
"System.OverflowException: Arithmetic operation resulted in an overflow.\r\n at \u0008\u0010\u001A.\u0006()\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002()\r\n at \u0005\u0005\u001B.\u0002(\u0006\u001A\u0002 \u0002)\r\n at \u0008\u0002\u001B.\u0002(\u0005\u0005\u001B \u0002, \u0005\u0005\u001B \u0008)\r\n at \u0003\u0010\u0002.\u0002()\r\n at \u0003\u0010\u0002.\u0002(\u0008\u0019\u0003 \u0002, \u0008\u0015\u0003 \u0008, \u0003\u0017\u0002 \u0005, \u000F\u0019\u0017 \u0006)\r\n at \u0002\u0003\u001B.\u0002(Boolean \u0002, Int32 \u0008, \u0008\u0019\u0003 \u0005, \u0008\u0015\u0003 \u0006, \u0003\u0017\u0002 \u0003, OperationType \u000E)"
"System.OverflowException: Arithmetic operation resulted in an overflow.\r\n at \u0008\u0010\u001A.\u0006()\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002()\r\n at \u0005\u0005\u001B.\u0002(\u0006\u001A\u0002 \u0002)\r\n at \u0008\u0002\u001B.\u0002(\u0005\u0005\u001B \u0002, \u0005\u0005\u001B \u0008)\r\n at \u0003\u0010\u0002.\u0002()\r\n at \u0003\u0010\u0002.\u0002(\u0008\u0019\u0003 \u0002, \u0008\u0015\u0003 \u0008, \u0003\u0017\u0002 \u0005, \u000F\u0019\u0017 \u0006)\r\n at \u0002\u0003\u001B.\u0002(Boolean \u0002, Int32 \u0008, \u0008\u0019\u0003 \u0005, \u0008\u0015\u0003 \u0006, \u0003\u0017\u0002 \u0003, OperationType \u000E)"
"System.OverflowException: Arithmetic operation resulted in an overflow.\r\n at \u0008\u0010\u001A.\u0006()\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002()\r\n at \u0005\u0005\u001B.\u0002(\u0006\u001A\u0002 \u0002)\r\n at \u0008\u0002\u001B.\u0002(\u0005\u0005\u001B \u0002, \u0005\u0005\u001B \u0008)\r\n at \u0003\u0010\u0002.\u0002()\r\n at \u0003\u0010\u0002.\u0002(\u0008\u0019\u0003 \u0002, \u0008\u0015\u0003 \u0008, \u0003\u0017\u0002 \u0005, \u000F\u0019\u0017 \u0006)\r\n at \u0002\u0003\u001B.\u0002(Boolean \u0002, Int32 \u0008, \u0008\u0019\u0003 \u0005, \u0008\u0015\u0003 \u0006, \u0003\u0017\u0002 \u0003, OperationType \u000E)"
"System.OverflowException: Arithmetic operation resulted in an overflow.\r\n at \u0008\u0010\u001A.\u0006()\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002()\r\n at \u0005\u0005\u001B.\u0002(\u0006\u001A\u0002 \u0002)\r\n at \u0008\u0002\u001B.\u0002(\u0005\u0005\u001B \u0002, \u0005\u0005\u001B \u0008)\r\n at \u0003\u0010\u0002.\u0002()\r\n at \u0003\u0010\u0002.\u0002(\u0008\u0019\u0003 \u0002, \u0008\u0015\u0003 \u0008, \u0003\u0017\u0002 \u0005, \u000F\u0019\u0017 \u0006)\r\n at \u0002\u0003\u001B.\u0002(Boolean \u0002, Int32 \u0008, \u0008\u0019\u0003 \u0005, \u0008\u0015\u0003 \u0006, \u0003\u0017\u0002 \u0003, OperationType \u000E)"
"System.OverflowException: Arithmetic operation resulted in an overflow.\r\n at \u0008\u0010\u001A.\u0006()\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002(Int32 \u0002, Int32 \u0008, \u0008\u0010\u001A \u0005)\r\n at \u0002\u001B\u0002.\u0002()\r\n at \u0005\u0005\u001B.\u0002(\u0006\u001A\u0002 \u0002)\r\n at \u0008\u0002\u001B.\u0002(\u0005\u0005\u001B \u0002, \u0005\u0005\u001B \u0008)\r\n at \u0003\u0010\u0002.\u0002()\r\n at \u0003\u0010\u0002.\u0002(\u0008\u0019\u0003 \u0002, \u0008\u0015\u0003 \u0008, \u0003\u0017\u0002 \u0005, \u000F\u0019\u0017 \u0006)\r\n at \u0002\u0003\u001B.\u0002(Boolean \u0002, Int32 \u0008, \u0008\u0019\u0003 \u0005, \u0008\u0015\u0003 \u0006, \u0003\u0017\u0002 \u0003, OperationType \u000E)"
Hi @jamsharp !
Thank you for the feedback - let me investigate it and get back to you shortly if we will be able to reproduce it. Just to double check - does it happen while adding new documents to the index right?
Can you please share as more details as possible?
Yes. It happens while adding (or maybe while calling the āoptimizeā - I canāt say that for sure - maybe the callstacks give you that information) stuff to the index.
For performance reasons, weāve always added the bytes of multiple files at once (usually around 100-250MB each time) to the index:
var options = new IndexingOptions { Cancellation = groupDocsCancellation };
m_Index.Add(extractedDataChunk.Select(c => c.ExtractedData).ToArray(), options);
The index optimize call does not look special:
m_Index.Optimize();
I hope/assume, the callstacks could help finding out where it happens / how to prevent it, even if we donāt find a repro. This happens on the machine of our customer again.
Update:
We tried creating an index based on all supported files (over 700k) of the āCorporaā dataset and were able to reproduce it with that ourselves: Govdocs1 ā Digital Corpora
After adding around 57k of them to the index, we first observed it.
We let it run until the end (exception occurred over 800 more times), but according to the GroupDocs API, at the end, there are only 57k documents in the index. In our case, this means: Getting this exception once means: āThe index is destroyed foreverā.
Can you please try to reproduce it with that? This is currently our highest priority problem.
HI @jamsharp!
We were able to reproduce these issues and plan to deliver fixes in the upcoming release shortly this month.
We will do our best to publish it as soon as possible.
Thank you!
Hello, I tried out the new version with 300k files.
I can verify that we are currently not seeing the Arithmetic Overflow.
But we are seeing a different exception while adding stuff to the index. It first appeared after 6-7k files and has since then occurred many more times.
It looks like this breaks the index, too. The search does not seem to find documents in it.
System.ArgumentException: Offset and length were out of bounds for the array or count is greater than the number of elements from index to the end of the source collection.\r\n at \u0002\u001B\u001B.\u0002(Int32 \u0002, Int32 \u0008)\r\n at \u0002\u001B\u001B.\u0002(\u0003\u0002\u0017 \u0002)\r\n at \u0008\u0017\u0002.\u0008(Cancellation \u0002)\r\n at \u0008\u0017\u0002.\u0002(IndexRepository \u0002, Cancellation \u0008)\r\n at \u0005\u0003\u001B.\u0002(IndexRepository \u0002, Cancellation \u0008, OperationType \u0005)\r\n at \u0005\u0003\u001B.\u0002(IndexRepository \u0002, MergeOptions \u0008, \u0006\u001B\u0017 \u0005, OperationType \u0006)
@yuriy.mazurchuk @atir.tahir, update: I have bad news. This ArgumentException can now even happen for quite small indices we never had problems with.
Hi @jamsharp!
Please check the latest version with the hot fix for this issue.
GroupDocs.Search for .NET 26.7.2
Hope this time you will be able to run the product without any issues.
Thank you for your feedback!