Posted by member 2112 on 2003-11-14 00:56:53 link
So how much does a module need to leak for it to considered a memory leak?
I've finished creating Glaze 1.3 but before I release it I want to make sure I've at least identified where the leak is coming from. So I've started an intensive process of going through my theme, module by module, and watching the memory usage over a short period with Process Explorer.
I've only just begun but so far I've seen some modules cause memory to climb 10KB/min whilst others climb over 50KB/min. Are these leaks? I expect it will all add up.
What's a suitable testing situation? Is 10-20 minutes long enough to run a theme for with a single module to see if a leak is present? How fast would memory have to climb?
I'm going to start my tests again and keep a strict record of usage. Does anyone know of a utility that can log memory usage to a file in intervals?
I've finished creating Glaze 1.3 but before I release it I want to make sure I've at least identified where the leak is coming from. So I've started an intensive process of going through my theme, module by module, and watching the memory usage over a short period with Process Explorer.
I've only just begun but so far I've seen some modules cause memory to climb 10KB/min whilst others climb over 50KB/min. Are these leaks? I expect it will all add up.
What's a suitable testing situation? Is 10-20 minutes long enough to run a theme for with a single module to see if a leak is present? How fast would memory have to climb?
I'm going to start my tests again and keep a strict record of usage. Does anyone know of a utility that can log memory usage to a file in intervals?