Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Error: "There is not enough free memory to run this program"

23 Feb 2011   #1
metallicart

Windows 7 Ultimate 32bit
 
 
Error: "There is not enough free memory to run this program"

Hey there...
it all started out when i was trying to install VisualStudio 2008 C# Express Edition...
the first time i tried that it told me it couldn't access the specified registry key, so i used subinacl to gain ownership and access on keys under CLASSES_ROOT\VisualStudio*
...only the wildcard function didn't work, so it tried to modify the whole hive - and of course it failed...
when i rebooted, not only did VisualStudio still not work, but i had no sound (device not recognized or something, i couldn't have a look) and Windows Explorer basically didn't work... the whole appereance and desktop worked, but i couldn't open anything with it, it stated "There is not enough free memory to run this program", which is complete bullcrap, i had over 1.2 GB free and available...
so i couldn't even open Control Panel or anything...
luckily i was able to use system restore in the pre-boot repair options of Win 7 then - and that set everything back to normal (kudos, that went as it was supposed to be for once)
...and never touched VisualStudio again - till lately

i tried the exact same thing again
i thought maybe all the updates i downloaded could have helped... yeah fat chance -.- or maybe NOW there was a simple solution out there...
and i thought i could always use system restore if it went wrong - naive me relying on windows -.-
this time it did NOT work, it stated it couldn't unpack all of the restore point due to too little free disk space - so it ended up doing nothing at all

i used the way better SetACL to gain access to pretty much all of my registry, to maybe solve some accessing-errors, but... nah... that didn't solve anything
(it DID work though, VisualStudio can now access the registry apparently, now i get another message saying "object reference not set to an instance" when i try to open a new project of any kind - but that's a differend story... -.-)

and now i'm sat here, with some kind of paging or memory management error, with no sound, no Windows Explorer (i'm using Directory Opus for browsing anyway), and i can't log on to MSN, and some applications won't run at all either, due to supposedly not enough free memory...

i have to say, it's NOT just me, hundreds of people have experienced the same problem in the first place trying to install VisualStudio

who can tell me what to do that does NOT involve a clean reinstall?


My System SpecsSystem Spec
.
23 Feb 2011   #2
zigzag3143

Win 8 Release candidate 8400
 
 

Do you have the win 7 dvd to do a repair install?
My System SpecsSystem Spec
23 Feb 2011   #3
metallicart

Windows 7 Ultimate 32bit
 
 

Quote   Quote: Originally Posted by zigzag3143 View Post
Do you have the win 7 dvd to do a repair install?
oh hey there, thank you for your quick reply : )

the problem is SOLVED and i feel silly^^

see my newest reply - thanks again for caring : )
My System SpecsSystem Spec
.

23 Feb 2011   #4
metallicart

Windows 7 Ultimate 32bit
 
 

i'd feel stupid if i wasn't so happy it's working again : D

i checked and reapplied several times: System, Administrator and my user account all had access to CLASSES_ROOT and it still wouldn't work...

now i tried something i considered silly and of course grasping at straws - i reset the accessibility for "Benutzer" (german for Users) to full as well - i thought, as i'm the only user IN here, i would have taken care of all the user accounts that mattered - apparently not >.< : D

and THIS resolved all the problems - as weird as it seems (to me that is)
_____________________________________

so if you experience problems like
-No Sound (device not even recognized)
-Windows Explorer won't work correctly
-you get the error "There is not enough free memory to run this program" when that clearly isn't the case
-You can't log on to MSN


it is likely you have a security conflict in your registry - that much i knew
but the solution seems quite simple after all:

Make sure that System and Users (and just to make sure maybe Administrators and your account name too) have more or less unrestricted access to the registry hive "HKEY_CLASSES_ROOT\"

to obtain that, you could try and make yourself the owner of that branch first, say okay, and in a seperate step, set the permissions after you're the owner.

but chances are you get loads of "access denied" errors and the whole thing aborts (classical windows -.-)
then, and only then, for Windows 7 32bit i recommend SetACL Command Line-Version (SetACL.exe) – Syntax and Description | Helge Klein | Home of SetACL (NOT subinacl - that made everything worse for me)...
(if you're not sure how to configure, you can ask them, as of february 23rd 2011, they're active and replying to questions, or just ask me)

...can i mark this as solved somehow?
My System SpecsSystem Spec
23 Feb 2011   #5
JMH

Win 7 Ultimate 64-bit. SP1.
 
 

metallicart,
Welcome to SF.
Your writing skills have been appreciated. Nice sense of humour too.
Even better is the fact that you have solved your own problem AND let others know.
Well done.

My System SpecsSystem Spec
23 Feb 2011   #6
metallicart

Windows 7 Ultimate 32bit
 
 

Quote   Quote: Originally Posted by JMH View Post
metallicart,
Welcome to SF.
Your writing skills have been appreciated. Nice sense of humour too.
Even better is the fact that you have solved your own problem AND let others know.
Well done.

oh my, THAT's not something you hear every day : )
Yes, i try my best to do what i would wish from others, like to keep people updated... it is so often that you read things like "i'll ask somebody else or support center" and then that was it, people so often just abandon their posts and leave a huge questionmark standing there in the forumscape -.-
: ) as for the writing skills, i'm bound to do my best as a german, of course i want to maximize readability and logic as i'm speaking a foreign language - and i guess that pays off : ) - sorry though for not using caps... it's just something that somehow developed into a bad habit when writing more or less informal things on a computer

i hope my solution finally helps others : )

...i'm still having problems with installing VisualStudio... if i don't succeed till tonight, i think i'm gonna open another thread for that one - it wouldn't belong in here, would it? : )

so thank you again for the nice words : )
My System SpecsSystem Spec
23 Feb 2011   #7
Anak

Microsoft Community Contributor Award Recipient

Win 7 Home Premium 64bit Ver 6.1.7600 Build 7601 - SP1
 
 

Hi! metallicart, welcome to 7F

If I may echo JMH your post was my first, and pleasent read of the day, good work!
Quote:
...can i mark this as solved somehow?
If you would like to mark your post as solved so as to help others that may have a similar problem.
Click on the red triangle in the upper right corner of your post and tell the staff to please marked this thread as solved.

Thank you for visiting 7F!

Anak....aka....Steve


EDIT:
I see you have already taken care of it!
My System SpecsSystem Spec
23 Feb 2011   #8
metallicart

Windows 7 Ultimate 32bit
 
 

well not ME in person - some other member of the staff must have read my question and just marked it as solved i guess : )

but thank you too for the nice words - i think i'm gonna feel really comfortable around this forum : )
My System SpecsSystem Spec
23 Feb 2011   #9
Anak

Microsoft Community Contributor Award Recipient

Win 7 Home Premium 64bit Ver 6.1.7600 Build 7601 - SP1
 
 

Your welcome, there are very efficient Admins, and Mods patrolling the halls here.
My System SpecsSystem Spec
23 Feb 2011   #10
metallicart

Windows 7 Ultimate 32bit
 
 

i noticed

...O.o oh my that one is ugly^^
My System SpecsSystem Spec
Reply

 Error: "There is not enough free memory to run this program"




Thread Tools




Similar help and support threads
Thread Forum
Diff.between "available" and "free" physical memory?
When I look into the "Performance" tab of my TaskManager then there are the following values: Total: 4014 Cached: 1299 Available: 2697 Free: 1532 Hmm, What is the difference between available and free space? Shouldn't this be the same?
Performance & Maintenance
"There is not enough free memory to run this program" fix help
Hi, my computer has been very annoying lately. It all started yesterday. My computer had a no sound icon. I simply restarted it thinking that it would solve the issue. However, it all got worse from there. When my computer came back I found that not only did it still have no sound but also...
General Discussion
Unknown reasoning for "Error: Cannot Wipe free space for UNC drive"
Hello all, new member here. I have came across this forum many times in the past years when searching, and have found it to be very beneficial. So, I figured I would see if anyone here may know why this is happening. First off, the information about the Laptop in question; -Asus K60IJ -Windows...
General Discussion
"Program too big to fit in memory".
Hey, everyone. I have a laptop here, which keeps giving me an error when I try to run applications. The error, as stated in the title, is "Program too big to fit in memory", which flashes up for a second in a cmd window. I have tried reinstalling XP on FAT32 and NTFS, and I have also tried...
General Discussion
"Out of Memory" Error, all apps continually increase memory usage
I have windows 7 64 bit and also running a ssd. Just a few days ago I've started to have an issue where after my computer is running for a couple hours all processes continually increase the amount of memory they are using until I get an out of memory error. Here is a pic of it around 75%. I...
Performance & Maintenance


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 17:43.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App