Memory-duration considerations

When a UDR needs to allocate memory dynamically, it must take the following actions:
  • Choose an appropriate memory duration for which to allocate the memory
  • Save the address of the memory so that all UDRs that need to use the memory can access it