Hi, First time here!

Well in a certain amount of time I need to copy a small region from screen.

I already tried too ways:

pixbuf = new Pixbuf(window, x, y, width, height);

and

pixbuf = Pixbuf.getFromDrawable(window, null, x,y, 0, 0, width, height);

Both ways works great, but the problem is the memory which doesn't stop to increase. Anyone had any problem like this? There is another way to copy regions from screen?