You can switch to a lightweight desktop environment, such as lxde
or xfce
of which this last one is more stable and features the majority of the benefits of Compiz (even the Extra Effects) and this way you'll be away of the memory leak of both compiz and the unity panel.
Somehow, and I say SOMEHOW (which means I don't know how nor why) if you wish to use the Ubuntu Unity Plugin, you'll have all the benefits of the Unity hud and panel in a lightweight desktop environment with no memory leak.
Unity's memory leak is documented right here, explained in the site, as follows:
Binary package hint: unity
Every use of the global menu increases memory used by
unity-panel-service by about 1MB per use [...]
It's also been reported and seen here that in the Classic login each
use of the global menu does about the same for
indicator-applet-appmenu
There are also the cons, in example: Compiz won't exist at the boot. So I suggest you to install the fusion-icon
in order to run it at the very startup, manually or automatically, so compiz will become the window manager/decorator. I think it is the hardest thing. Programs setup, file associations and these things are something we can live with (XFCE uses PCManFM instead of Nautilus and certain software for opening pictures and other stuff, which you can override by assigning the proper piece of software to open your files). So, if you consider this, you can live with a lightweight desktop environment but the memory leak is a horrible thing that many people is yet waiting to be fixed. Even if they have released several patches or fixes, the memory leak is a major issue when in Unity.
Good luck!