Does the space bar problem happen all the time or just in certain applications?
Have you tried updating the drivers for your mouse and keyboard?
Have you tried changing USB ports?
Have you turned the keyboard upside down and gently tapped so as to remove any foreign matter?
Are you running a Dell or HP system?