Page 1 of 2 12 LastLast
Results 1 to 15 of 20
  1. #1
    Uranium Lounger CWBillow's Avatar
    Join Date
    Jul 2002
    Location
    Las Vegas, NV USA
    Posts
    6,371
    Thanks
    78
    Thanked 12 Times in 11 Posts

    Unloading DLL's (XP SP-2)

    There's a way to recover memory by releasing unused dll's... nothing tricky, but I can't find it.

    Any idea?

    Regards,
    Chuck Billow
    -------------------------------------------------
    "Good judgment comes from experience, and experience - well, that comes from poor judgment."

    ~ A(lan) A(lexander) Milne (1882-1956)- "House at Pooh Corner"

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Unloading DLL's (XP SP-2)

    Windows XP's built-in memory management does a pretty good job, it makes memory available as needed. I wouldn't bother interfering with it.

  3. #3
    Uranium Lounger CWBillow's Avatar
    Join Date
    Jul 2002
    Location
    Las Vegas, NV USA
    Posts
    6,371
    Thanks
    78
    Thanked 12 Times in 11 Posts

    Re: Unloading DLL's (XP SP-2)

    Hans:

    I'm not worried about memory management per se...

    Over the lat week while I've been setting up my machine, OE is hanging in memory, and until I kill the process via Task manager, it won't connect on re-load.

    Seems that there's some setting for unloading and releasing dll's that needs to be set so that I don't need to do this by hand each time.

    Chuck Billow
    -------------------------------------------------
    "Good judgment comes from experience, and experience - well, that comes from poor judgment."

    ~ A(lan) A(lexander) Milne (1882-1956)- "House at Pooh Corner"

  4. #4
    Platinum Lounger
    Join Date
    Feb 2002
    Location
    A Magic Forest in Deepest, Darkest Kent
    Posts
    5,681
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Unloading DLL's (XP SP-2)

    <img src=/S/note.gif border=0 alt=note width=20 height=20> to myself...add this thread to my Favourites list and see what Chuck does next <img src=/S/grin.gif border=0 alt=grin width=15 height=15>

    1) Go to Start > Run

    2) type in regedit

    3) Navigate to the following keys; HKEY_LOCAL_MACHINE > Software > Microsoft > Windows > CurrentVersion > Explorer > AlwaysUnloadDLL

    4) When you get to AlwaysUnloadDLL click on it, the pane to the right should have only one key, double-click on; (Default), change it to '1'

    5) Click OK

    6) Restart your computer
    Jerry

  5. #5
    Uranium Lounger CWBillow's Avatar
    Join Date
    Jul 2002
    Location
    Las Vegas, NV USA
    Posts
    6,371
    Thanks
    78
    Thanked 12 Times in 11 Posts

    Re: Unloading DLL's (XP SP-2)

    Jerry:

    Why you so MEAN to me??? <img src=/S/argue.gif border=0 alt=argue width=50 height=25>

    AAMOF... 90% (well, okay, 65%, well.... OK!!! 45%, and that's my LAST offer!) is out of frustration. After getting a new video card ('member that?) and thn a new monitor (see Hans), I figgered it was time I updated my "core" mirror image -- so as to be able to tell yooz all that I DO back up -- my system at least.

    But in so doing, I had problems with, believe it or not, Outlook Express. First it was giving me script debugging errors (thanlks again, Hans), but THEN, it was locking up on downloading messages, and wouldn't let go until I terminated the "msimn.exe" process.

    And THAT'S where I remembered the bit about "left-behind dll's". Google told me that I was far from the only one. Now that may or may not solve my OE issue, but at least, Jerry (et al), I'm not (**always**) tinkering just for the sake of it. Heck, even I get tired of my constant screwing around. Well, at least I want to be able to come up with answers...!

    Now I'm not at all sure this will solve my OE problem, but then, ...

    Jerry, DO mark this, 'cause then if I scream out for help, you'll be in earshot (or Not!)! <img src=/S/confused3.gif border=0 alt=confused3 width=45 height=45>

    Warmest regards to all,
    Misser Chuck

    PS... Jerry, the key AlwaysUnloadDLL wasn't there, so I stuck it in...
    -------------------------------------------------
    "Good judgment comes from experience, and experience - well, that comes from poor judgment."

    ~ A(lan) A(lexander) Milne (1882-1956)- "House at Pooh Corner"

  6. #6
    Administrator
    Join Date
    Mar 2001
    Location
    St Louis, Missouri, USA
    Posts
    23,572
    Thanks
    5
    Thanked 1,057 Times in 926 Posts

    Re: Unloading DLL's (XP SP-2)

    That registry key has no effect on an XP system. From Debugging with the Shell:

    "Unloading the DLL
    The Shell automatically unloads a DLL when its usage count is zero, but only after the DLL has not been used for a period of time. This inactive period might be unacceptably long at times, especially when a Shell extension DLL is being debugged. For operating systems prior to Windows 2000, you can shorten the inactive period by adding the following information to the registry.


    HKEY_LOCAL_MACHINE
    Software
    Microsoft
    Windows
    CurrentVersion
    Explorer
    AlwaysUnloadDll"

    Joe
    Joe

  7. #7
    Uranium Lounger CWBillow's Avatar
    Join Date
    Jul 2002
    Location
    Las Vegas, NV USA
    Posts
    6,371
    Thanks
    78
    Thanked 12 Times in 11 Posts

    Re: Unloading DLL's (XP SP-2)

    Great Joe... And I was starting to think that *maybe* I could help the process along...

    You're just no fun at all...

    Chuck
    -------------------------------------------------
    "Good judgment comes from experience, and experience - well, that comes from poor judgment."

    ~ A(lan) A(lexander) Milne (1882-1956)- "House at Pooh Corner"

  8. #8
    Administrator
    Join Date
    Mar 2001
    Location
    St Louis, Missouri, USA
    Posts
    23,572
    Thanks
    5
    Thanked 1,057 Times in 926 Posts

    Re: Unloading DLL's (XP SP-2)

    If you notice from the qoute DLL's are unloaded when the usage count is zero. When you force a program to terminate I doubt that the usage counts are decremented. Therefore, even if the registry entry was valid for XP it would never kick in as the usage count would never be zero.

    Joe
    Joe

  9. #9
    Platinum Lounger
    Join Date
    Jan 2001
    Location
    Quedgeley, Gloucester, England
    Posts
    5,333
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Unloading DLL's (XP SP-2)

    Chuck

    Have you ever thought of writing your own operating system?

    John
    <font face="Script MT Bold"><font color=blue><big><big>John</big></big></font color=blue></font face=script>

    Ita, esto, quidcumque...

  10. #10
    Super Moderator
    Join Date
    Dec 2000
    Location
    Renton, Washington, USA
    Posts
    12,560
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Re: Unloading DLL's (XP SP-2)

    <img src=/S/bouncenburn.gif border=0 alt=bouncenburn width=31 height=31> <img src=/S/bananas.gif border=0 alt=bananas width=33 height=35> <img src=/S/mice.gif border=0 alt=mice width=50 height=25> <img src=/S/please.gif border=0 alt=please width=31 height=23>

    Now running HP Pavilion a6528p, with Win7 64 Bit OS.

  11. #11
    Uranium Lounger CWBillow's Avatar
    Join Date
    Jul 2002
    Location
    Las Vegas, NV USA
    Posts
    6,371
    Thanks
    78
    Thanked 12 Times in 11 Posts

    Re: Unloading DLL's (XP SP-2)

    Dave and John... To quote Ronald Reagan "Now there you go again..."

    Just because inexplicable issues and problems tend to make me frazzled, we shopuld try hard to be nice here.

    The heck with my own OS... but I HAVE thought about a TRUE **USER"S** tech guide, that would not only put the stuff in consecutive ideas and forms, but also not leave gaping holes in the logic. Instead of books with every last event or situation seemingly covered as some puport to do, I would be happier yet if I could just find a book that dealt with various situations from a more "if / then" perspective for the major areas, so that questions like my last one (to myself) would find respite:

    How come if I JUST installed WinXP, and I've got NOTHING loaded that didn't come straight out of the Microsoft box... how come it ain't doing what the book says it does?"

    Like downloading my email in Outlook Express! I just don't think that's asking too much.

    Now, perhaps in my frustrations (read that "quests for solutions") I go a bit far and / or astray. But I don't think guys, that I'm really being unreasonable in my goals. I'm not asking the d--- PC to walk on water. Only do what it says it can and will do.

    And since we all know that that is unrealistic, I DO think a book with the steps and resolutions of such amtters is a good idea.

    Hey! It's kinda/sorta like putting this board in a book! <img src=/S/crossfingers.gif border=0 alt=crossfingers width=17 height=16>

    CB
    -------------------------------------------------
    "Good judgment comes from experience, and experience - well, that comes from poor judgment."

    ~ A(lan) A(lexander) Milne (1882-1956)- "House at Pooh Corner"

  12. #12
    Administrator
    Join Date
    Mar 2001
    Location
    St Louis, Missouri, USA
    Posts
    23,572
    Thanks
    5
    Thanked 1,057 Times in 926 Posts

    Re: Unloading DLL's (XP SP-2)

    There are always a lot of books written about every OS that Microsoft releases. Just go to Amazon or Barnes&Noble and search for Woody Leonhard, Paul Thurrott, Ed Bott, or Mark Minasi to name a few. You'll find a lot to keep you busy.

    It seems in your quests for solutions you try to change and tweak anything and everything. This is not meant to discourage you but you have started eight threads so far in April in the XP forum alone. You can not even have a realistic chance to evaluate the consequences of a change before trying something different.

    In my experience if the OS and optional components is all that is installed I've not had problems getting basic funtionality running. The issues arise when there is a bunch of crapware from an OEM installed, or when the user starts installing all sorts of application programs, hardware and drivers. If you have a PC that has XP, optional OS components only, and up-to-date patches installed and are having a problem with OE how about starting another thread.

    Joe
    Joe

  13. #13
    Uranium Lounger CWBillow's Avatar
    Join Date
    Jul 2002
    Location
    Las Vegas, NV USA
    Posts
    6,371
    Thanks
    78
    Thanked 12 Times in 11 Posts

    Re: Unloading DLL's (XP SP-2)

    Joe:

    >>
    There are always a lot of books written about every OS that Microsoft releases. Just go to Amazon or Barnes&Noble and search for Woody Leonhard, Paul Thurrott, Ed Bott, or Mark Minasi to name a few. You'll find a lot to keep you busy.
    <<

    Busy, most certainly. Informed, undoubtedly. And yet, resolved and / or set on the right path? Maybe. Sometimes. I ahbe a couple of the books you mentioned. I think if you track back, you'll find a couple questions I raised *after* looking in said books. But the do help. Most times.

    >>
    It seems in your quests for solutions you try to change and tweak anything and everything. This is not meant to discourage you but you have started eight threads so far in April in the XP forum alone. You can not even have a realistic chance to evaluate the consequences of a change before trying something different.
    <<

    What I try to do, certainly not always successfully, is to not dwell on those things that do not 1) Give me what I was or am initially looking for, or, barring that, 2) Point me in a more correct direction toward my assumed or adjusted goal. I see little reason or substantive value in dwelling on non-solutions. That is why I mention correct directions, because, o0bviously, if your premise and thereby direction is obtuse, so will be your conclusions.

    >>
    In my experience if the OS and optional components is all that is installed I've not had problems getting basic funtionality running.
    <<

    Not me either, hence my surprise and question. I TRY to keep my questions on point, although, again, not always able to do so. In so doing, I try to make them such that other readers can eithe have an "Ah-Hah!" moment, or at the least one that plants a tidbit of a memory, as many have for me, to be recalled at some point and of benefit in so doing.

    I'll try to trim my excursiona, or at least my relating of these, in the future though. My purpose was certainly not to upset or distract the many who have been of such great assistance to me on this --- and it's partners -- board.

    Regards,
    Chuck
    -------------------------------------------------
    "Good judgment comes from experience, and experience - well, that comes from poor judgment."

    ~ A(lan) A(lexander) Milne (1882-1956)- "House at Pooh Corner"

  14. #14
    Platinum Lounger
    Join Date
    Nov 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    5,016
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Unloading DLL's (XP SP-2)

    Chuck... To further quote Ronald Reagan, on his visit to NORAD, "...and what does this button do?" <img src=/S/meltdown.gif border=0 alt=meltdown width=15 height=15>

    Alan

  15. #15
    Uranium Lounger CWBillow's Avatar
    Join Date
    Jul 2002
    Location
    Las Vegas, NV USA
    Posts
    6,371
    Thanks
    78
    Thanked 12 Times in 11 Posts

    Re: Unloading DLL's (XP SP-2)

    Alan:

    Yea, good thing he didn't muck around, ain't it?

    Chuck
    -------------------------------------------------
    "Good judgment comes from experience, and experience - well, that comes from poor judgment."

    ~ A(lan) A(lexander) Milne (1882-1956)- "House at Pooh Corner"

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •