Mixed source space

Code to generate source spaces with cortical surfaces and sub-cortical volumes.
running this example without requires almost 3GB of RAM. Any idea why?

with the mayavi code it blows up my memory :(