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

Page 1 of 3 123 LastLast

  1. Posts : 9
    Windows 7 Ultimate 32bit
       #1

    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 Computer


  2. Posts : 28,845
    Win 8 Release candidate 8400
       #2

    Do you have the win 7 dvd to do a repair install?
      My Computer


  3. Posts : 9
    Windows 7 Ultimate 32bit
    Thread Starter
       #3

    zigzag3143 said:
    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 Computer


  4. Posts : 9
    Windows 7 Ultimate 32bit
    Thread Starter
       #4

    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?
    Last edited by metallicart; 23 Feb 2011 at 04:12. Reason: solved
      My Computer


  5. JMH
    Posts : 7,952
    Win 7 Ultimate 64-bit. SP1.
       #5

    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 Computer


  6. Posts : 9
    Windows 7 Ultimate 32bit
    Thread Starter
       #6

    JMH said:
    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 Computer


  7. Posts : 5,605
    Originally Win 7 Hm Prem x64 Ver 6.1.7600 Build 7601-SP1 | Upgraded to Windows 10 December 14, 2019
       #7

    Hi! metallicart, welcome to 7F :)

    If I may echo JMH your post was my first, and pleasent read of the day, good work!
    ...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!
    Last edited by Anak; 23 Feb 2011 at 05:31. Reason: Changed &F to 7F
      My Computer


  8. Posts : 9
    Windows 7 Ultimate 32bit
    Thread Starter
       #8

    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 Computer


  9. Posts : 5,605
    Originally Win 7 Hm Prem x64 Ver 6.1.7600 Build 7601-SP1 | Upgraded to Windows 10 December 14, 2019
       #9

    Your welcome, there are very efficient Admins, and Mods patrolling the halls here.
      My Computer


  10. Posts : 9
    Windows 7 Ultimate 32bit
    Thread Starter
       #10

    i noticed

    ...O.o oh my that one is ugly^^
      My Computer


 
Page 1 of 3 123 LastLast

  Related Discussions
Our Sites
Site Links
About 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 16:57.
Find Us