Hi Anneliz,
Welcome to Microsoft Community Forums.
Based on the issue description, it appears that you are having issues in uninstalling a program as you are getting an error message "not enough memory to perform the operation". Or "some files could not be deleted, check that you have permission to access these files". I will definitely help you in fixing this issue.
- Which program are you trying to install?
- Is the issue confined to a specific program or with other programs as well?
- Have you made any changes on the computer prior to this issue?
Method 1: I would suggest you to follow the steps from the link to Install or Uninstall the programs in Windows and check if the issue persists.
How to troubleshoot problems when you install or uninstall programs on a Windows-based computer
http://support.microsoft.com/kb/2438651
Method 2: If the issue persists, I would suggest you to run Disk Cleanup which will reduce the number of unnecessary files on your hard disk to free up disk space and help your computer run faster, use Disk Cleanup. It also removes temporary files, empties the Recycle Bin, and removes a variety of system files and other items that you no longer need.
http://windows.microsoft.com/en-us/windows7/Delete-files-using-Disk-Cleanup
Give this a go; I’m confident you will find what you need here. But if you face any further issues regarding Windows, please reply back to this post and we'll be happy to assist you further.