KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: List of commands that can provoke memory leak
PRODUCT: 4D | VERSION: 18 | PLATFORM: Mac & Win
Published On: June 18, 2020

Memory leaks can occur when a developer uses commands that create a reference in memory, and then forgets to call the appropriate clean-up commands afterwards to delete the reference when it is no longer needed and free up the memory. Below is a table of these commands to keep in mind, paired with the appropriate clean-up command.



Memory leaks could lead to reduction in performance, so make sure each created reference in memory is released when it is no longer necessary.

Commented by Nhat Do on June 29, 2020 at 8:57 AM
Hi Vincent, Thanks for the comment. We have updated the table. Regards, Nhat
Commented by Vincent de Lachaux on June 29, 2020 at 2:25 AM
Missing command : SVG_New (cleanup: SVG_CLOSE)