Why is Unity (Compiz) consuming more and more RAM? [closed]

About 3 to 4 hours after turning on my PC, compiz 'memory usage' rose from 300MB up to 1.5GB!
What is happening? What is wrong?

Here is the screen-shot from system monitor:

system monitor


Solution 1:

It is a memory leak, probably in multiple places. It should be fixed by Compiz developers. It has been filed as a bug. Please mark yourself as being affected

Solution 2:

I was running into this, and just running "unity --replace &" was enough to drop it from 1.5GB down to about 110MB. I'm guessing Unity is telling compiz to create buffers that Unity is failing to tell compiz to clean up. At least I have a reasonable workaround.