Legacy
MModular
•Created by Legacy on 7/28/2024 in #questions
How to delete/uninitialize a variable in mojo when running through notebooks
When i declare a variable, I am unable to free the memory used by it in jupyter/vscode notebooks. Setting the or works in python. Same case with structs, which can't be deleted unless i manually implement . Is there any way to free the memory casually when experimenting with large memory consuming variables in the notebook ?
2 replies