+ Start a Discussion
Frances AllenFrances Allen 

class 'npsp.ERR_Notifier' error message for NSPS and heap size.

Hello, 

Has anyone else been able to reduce these error messages through programmatic means? These errors seem to be coming from a managed package which, in my experience, have been very difficult to to intercept or interpret code wise. The npsp class is why I know this is the Non-Profit Success Pack at work. Does anyone have experience specifically with identifying the types of processes which would be causing this? I believe that it is mass data manipulation, or users uploading many records into the system.

Thank You,

Frances Allen 
Zuinglio Lopes Ribeiro JúniorZuinglio Lopes Ribeiro Júnior
Hello Frances,

Limits of Salesforce such as the heap size cannot be intercepted but they do can be prevented. In the following articles, you find more details about this specific limit and ways to prevent it:
https://help.salesforce.com/articleView?id=000004186&type=1 (http://​https://help.salesforce.com/articleView?id=000004186&type=1)
https://help.salesforce.com/articleView?id=000170956&type=1
http://blog.jeffdouglas.com/2010/08/16/managing-the-heap-in-salesforce-com/

Keep in mind that I'm adding those links just to clarify to you what this is about, because as you mentioned that is a managed package, there is nothing much you can do to avoid it.

You should notify Salesforce (opening a case) of this problem to see what they have to say about it. Check also on the known issue web page to see if this is a known issue: https://success.salesforce.com/issues

Hope to have helped!

Regards.

Don't forget to mark your thread as 'SOLVED' with the answer that best helps you.