Skip to main content

We are running into an error with a brand new quote for a particular account in our org. We have not been able to add any lines or add a group in the QLE without getting this error - "JSON string exceeds heap size limit". We have been unable to replicate the error on other accounts by taking the same actions or in sandbox. This account does have over 2k subscriptions, which is the the most of any account in or instance, so we thought that might be related based on some debug logs we generated. However, we don't know how to confirm that that's the problem or figure out a workaround. 

The developer script exception email we receive says - Failed to process Queueable job for class SBQQ.QueueableCalculatorService for job ID 7070H0000DgYeud.

 

caused by: SBQQ.JSQCClient.JSQCClientException: Calculation error on quote Q-44546: System.LimitException: JSON string exceeds heap size limit

 

Class.SBQQ.JSQCClient: line 113, column 1

 

Class.SBQQ.QuoteService: line 295, column 1

 

Class.SBQQ.QuoteService: line 265, column 1

 

Class.SBQQ.QuoteService: line 261, column 1

 

Class.SBQQ.QuoteService: line 213, column 1

 

Class.SBQQ.QueueableCalculatorService.CalculateSyncher: line 235, column 1

 

Class.SBQQ.QueueableCalculatorService.execute: line 58, column 1

 

If anyone has any ideas, we would gladly take them!

 

 
4 respuestas
  1. 2 ene 2024, 19:49

     @Cheema Gurpreet Not beyond the hackery I posted 3 years ago although we have not had to do this as often as some of the volumes were driven by unique circumstances related to an acquisition and a transition process.  Number of lines has been reduced once all the amendments moved to old contracts.  The trick above around contract end date was fairly simple and non impactful once we got past the fear of doing something like that.