Edge Memory Allocation

Manipulating large volumes of data in a single record is always an issue. In CloudConnect Designer, sending big data along graph edges means this:

By default, the maximum size of a record sent along an edge is 32 MB. This value can be increased, theoretically, up to tens of MBs by setting the Record.RECORD_LIMIT_SIZE property (Changing Default CloudConnect Settings). Record.FIELD_LIMIT_SIZE can also be 32 MB by default. Naturally, all fields in total cannot use more memory than Record.RECORD_LIMIT_SIZE.

There is no harm in increasing Record.RECORD_LIMIT_SIZE to whatever size you want. The only reason for keeping it smaller is an early error detection. For instance, if you start appending to a string field and forget to reset record (after each record), the field size can break the limits.

[Note]Note

Let us look a little deeper into what happens in the memory. Initially, a record starts with 64k of memory allocated to it. If there is a need to transfer huge data, its size can dynamically grow up to the value of Record.RECORD_LIMIT_SIZE. If you ever wondered how much memory a record could consume, then the answer is <64k; Record.RECORD_LIMIT_SIZE>.