Removing stuff from the computer will not affect RAM, which is the working memory, not storage.
512 MB is pretty small, though you haven't mentioned which OS you are using.
Go to crucial.com and get a scan to tell you what memory is suitable and what your options are.
http://www.crucial.com/
Click the Scan my System button