Dark Wind schrieb: > Hi, > > How can I free all the memory in python by deleting all variables. I am > looking for the equivalent of 'clear' from Matlab. > > I know del x deletes a variable x, but it doesn't free all the available > memory. del doesn't free an object. It only removes one reference to the object. Christian