Hi, Looks like we are leaking a decent amount of memory with Lazarus when painting occurs. Try running Lazarus, move your mouse to and fro over the component palette speedbuttons row, several times, memory usage grows by a megabyte. Do that few times more, and Lazarus memory usage grows from about 8MB to 27MB in my case! :-( Michal