Sometime back, we were facing this error while editing OS install task sequence.
"There is not enough memory available to perform the task sequence operation."
Strange, as total available memory was enough.
So, went though this link-
https://techcommunity.microsoft.com/t5/Enterprise-Mobility-Security/Task-Sequence-Editor-8220-too-many-steps-8221-Issue-and-Solution/ba-p/247122
And made these changes:
"There is not enough memory available to perform the task sequence operation."
Strange, as total available memory was enough.
So, went though this link-
https://techcommunity.microsoft.com/t5/Enterprise-Mobility-Security/Task-Sequence-Editor-8220-too-many-steps-8221-Issue-and-Solution/ba-p/247122
And made these changes:
-changed
memoryperhost to 629145600(600mb) from 536870912
-changed
handlesperhost to 8192 from 4096
Also, did a
general cleanup of SUGs for Expired/Superseded updates.Changed collection refresh schedules to less frequent one.
This fixed it for us.