Error: Status: Did not finish Status Message: The query processor ran out of stack space during query optimization. Please simplify the query. BBERR_ORIGINAL_ERROR:8621. BBERR_ORIGINAL_PROCEDURE: BBERR_ORIGINAL_LINE_NUMBER:1

When refreshing a marketing segment the process fails with Error: 
Status:  Did not finish 
Status Message:  The query processor ran out of stack space during query optimization.  Please simplify the query.  BBERR_ORIGINAL_ERROR:8621.  BBERR_ORIGINAL_PROCEDURE:  BBERR_ORIGINAL_LINE_NUMBER:1

This can occur if a segment has a lot of selections, which SQL Server's query optimizer cannot handle properly. To resolve, reduce the number of selections in the affected segment.

Environment

 2.5.465, patch 62

Was this article helpful?


Thanks for your feedback! Did this solve your issue?

Comments (optional):


Thanks for your feedback!
We're glad it was helpful but sorry it didn’t solve your issue. If you need assistance, click Chat with Support below.
We’re sorry to hear that. Please tell us why.

 I don't like how this works.

 The answer is confusing.

 The answer didn't match what I was searching for.

Additional Comments (optional):


Thanks for your feedback! If you need assistance, click Chat with Support below.
Thanks for your feedback. Help us make our products even better by sharing details in our Idea Banks or our online Community.
Thanks for letting us know. We'll work on clarifying the information in the article. If you need assistance, click Chat with Support below.
Thanks for letting us know. We'll work on updating the search engine to return more relevant results.