PDA

View Full Version : Memory leak?


zuzzabuzz
01-07-2005, 05:36 PM
Hi folks. Running Modeler 8.0 (and 8.0.1) on WinXP SP2, I've noticed in the Task Manager that Modeler's memory usage grows and grows when I display the GUI I've been working on. I thought it was just my script, but it seems to be all lscripts with a GUI. Run the following code, and watch modeler in the task manager.
The memory growth will stop if modeler loses focus.
Can anyone else reproduce this? Could be a bug. Going to test it on my powerbook next.

@version 2.2
@warnings
@script modeler


main
{
options();
}

options{
reqbegin("Memory leak?");
c0 = ctlinteger("Integer Control",1);
return if !reqpost();
reqend();
}

faulknermano
01-07-2005, 10:00 PM
sorry, i cannot reproduce it.

modeler mem usage goes up about a few kilobytes but maintains it. it does not grow further.

i'm also using 8.0.1.

zuzzabuzz
01-08-2005, 10:20 AM
Thanks for testing it.
It doesn't cause a problem on my Win2k box at home. Must be a wierd combination of things on my machine at work. Pretty odd, but hopefully very isolated. If it happens again on Monday, I'll email Newtek. The more controls I had on my GUI, the faster the mem usage would rise.

thanks again,
buzz

faulknermano
01-08-2005, 11:17 AM
i forgot to mention that i was using win2k sp2.