Vely logo install | documentation | examples | articles | changelog
16.6.0 released on Mar 08, 2023 | articles updated on Mar 20, 2023

Memory handling


Memory and automatic freeing

Some Vely statements allocate memory for their results. Each statement's documentation specifies the clause(s) that allocate memory. Those that have not been so specified do not allocate memory. If memory cannot be allocated, your request will error out (see error_handling); this does not affect other requests.

All such memory is automatically freed at the end of each request, so in general you may not need to free memory at all. If needed, you can free memory with delete-mem. However, unless your program uses lots of memory for longer, it may make sense to not release the memory using delete-mem and let Vely release it at the end of the request. The reasons for this are:


Copyright (c) 2017-2023 DaSoftver LLC. Vely is a trademark of Dasoftver LLC. The software and information herein are provided "AS IS" and without any warranties or guarantees of any kind. Vely elephant logo (c) 2022 DaSoftver LLC. This web page is licensed under CC-BY-SA-4.0. Contact email vely@vely.dev.