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

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

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

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

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

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

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

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

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

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 for2: Error: "There is not enough free memory to run this program"
Thread Forum
Diff.between "available" and "free" physical memory? Performance & Maintenance
Solved "Program too big to fit in memory". General Discussion
Solved How do i skip "scanning: system error memory dump files"? Performance & Maintenance
Solved "Operating System Not Found" Error - Windows 7 (x64 bit) 4GB Memory Hardware & Devices
Windows Aero disables "lack of memory" error Performance & Maintenance
"Out of Memory" Error, all apps continually increase memory usage 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 03:28 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33