Gentoo x86-64 system, Linux kernel 3.15.0, xorg-server-1.15.1, compiz-0.8.9
On nvidia-dirvers-337.25|340.17 the X process increase his memory consuming from ~35 MiB at the morning to 600-700 MiB at the evening. The system uses as a desktop with compiz (3D effect), Firefox (+Adobe Flash) and music/movies (xv video output). On nvidia-drivers-334.21 or on Linux kernels <3.15.0 the memory consuming is normal.
How to fix the problem?