[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: Usage of BIND, REFERENCE-ONLY and BY-REFERENCE with ProDataSets & temp-tables

  • Thread starter Thread starter Blake Stanford
  • Start date Start date
Status
Not open for further replies.
B

Blake Stanford

Guest
Jeff Ledbetter wrote: We use BY-REFERENCE when the client has sent a dataset to the server. From our service layer, that dataset is then passed along BY-REFERENCE deeper into the application to avoid deep-copy of a potentially large dataset. I'm not sure if you are reffering to an AppServer when you said "sent a dataset to the server", If so then I my understanding is that anytime the client/appserver boundary is crossed, a DEEP COPY is always performed. The AVM creates an implicit table on the appserver and copies the dataset/temptable. Caution, in the documentation there are several gotchas that cause the implicit dataset/temptable to not be deleted, leaving a memory leak. Here is a link to a KB about it. P112397, "When does Progress create dynamic TEMP-TABLEs automatically"

Continue reading...
 
Status
Not open for further replies.
Back
Top