Are number of desktops affecting memory?
Having various applications open (on the same or on different desktops/spaces) requires much more memory than the desktops/spaces themselves. Even with different background pictures on every desktop the memory impact will be low compared to whatever else is going on on your machine.