Resources > Troubleshooting Tips > Troubleshooting: SFM Designer > Heap Size Error When Accessing an SFM
Heap Size Error When Accessing an SFM
Issue: The error Apex heap size too large is displayed when accessing the Manage Technician SFM on the Technician/Equipment record.
Resolution: From the logs the query has returned numerous records due to which the heap size limit is exceeded in the managed code. It is recommended to perform the following steps to manage and view a specific service team.
To view a specific service team:
1. Go to ServiceMax Setup > Service Flow Manager > SFM Custom Actions .
2. Select Service Team from the object drop down menu to clone the following custom action:
Custom Action: Manage Service Teams.
Custom Action ID: OTH022 Input a new unique 8 character action id for the new custom action.
Add one more parameter(s) in the new custom action:
Parameter Name : ShowOnlySel
Parameter Type : Value
Parameter Value : 1
3. Click Save.
Configure the new custom action in the required SFM Wizard, and launch the Wizard from the Technician/Equipment record.
Was this helpful?