0

I understand that this has been asked many times before. But I haven't been able to find a conclusive answer or guide to solve the issue.

When we add a new product to an opportunity we get the following error.

Apex trigger npsp.TDTM_Opportunity caused an unexpected exception, contact your administrator: npsp.TDTM_Opportunity: System.LimitException: Query of LOB fields caused heap usage to exceed limit.

This has only just recently started occurring after 12-months of usage - and the person who originally developed this for us is not longer available.

As a not-for-profit, we can't exactly go out and find another developer to amend this for us, so any help would be greatly appreciated.

2 Answers 2

2

As sfdcfox mentions, the Power of Us Hub is the best resource for NPSP support -- it's a very active community of NPSP users, consultants and the actual NPSP developers in the Salesforce Foundation.

There was a post about this error just last month. In their case, it was related to a large NPSP error log, so they purged the log (NPSP Settings > System Tools > Error Notifications) and the error went away. Apparently, inserting an opp causes a query on the error log object and that was causing their heap error.

1

We are unlikely to be able to help you with this problem. It may a configuration issue or a bug in the NPSP (Non-Profit Success Pack); you might just need to change a setting or update to the latest version. You should ask your question on the Power of Us forums for a better answer than what we can provide for you. While we would ordinarily be able to help with this sort of problem, it's in a "managed package," which means you can't see nor alter the code, so it would require someone familiar with the inner workings of the package, rather than something we can help you with directly, since we wouldn't be able to debug or diagnose the issue.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .