Skip to content

Workflow Sync can result in OutOfMemory Exception #75

@mlRosenquist

Description

@mlRosenquist

Describe the bug
When performing workflow sync towards an environment it can result in OutOfMemory Exception.

After doing a bit of digging in DAXXIF, i am pretty sure i found the root. DAXXIF will hold the pluginassembly record in memory with a full columnset (quite large for an pluginassembly) x amount of times. x is here the amount of solutions which refer a given workflow version and dll name.

To Reproduce
Steps to reproduce the behavior:

  1. Reference the an assembly "enough times" (ours was 30)
  2. Run the WorkFlowSync

Expected behavior
The workflow sync should succeed no matter the amount of references it has to solutions.

Fix is most likely to add an condition to the LinkCriteria. /Common/CrmDataInternal ~ line 529-536.

Screenshots
Local replication:
oom-workflowSync

Environment

  • CRM/D365/CDS version: 9.2.23112.00216
  • Tool version: 5.3.1

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions