Best way to get memory usage of DPF routine

Mike.Thompson Member, Employee Posts: 153
100 Comments 25 Likes 5 Answers First Anniversary

How can I get the memory usage of my DPF (mechanical or PyDPF) script. I am wanting to know how much is being used in relation to size of results file (mesh and time steps) to know the general limit on a given machine.