RetouchPRO

Go Back   RetouchPRO > Tools > Software
Register Blogs FAQ Site Nav Search Today's Posts Mark Forums Read


Software Photoshop, Lightroom, Paintshop Pro, Painter, etc., and all their various plugins. Of course, you can also discuss all other programs, as well.

Desktop Tweak

Reply
 
Thread Tools
  #1  
Old 07-22-2005, 07:00 AM
Paris's Avatar
Paris Paris is offline
Member
 
Join Date: Dec 2003
Location: Sydney - Australia
Posts: 83
Thumbs down Desktop Tweak

I came across this today and thought it may be of help to others experiencing problems with loading applications, memory usage and speed.

I used it and it does work. It even sorts out some of the sluggishness related to Adobe Bridge.


Introduction

The amount of RAM used to be the limitation for the number of applications you can open at any one time. Even with the use of virtual memory, there was a practical limit to the number of applications you can open.

But today, having 1GB to 2GB of memory is not uncommon. With so much memory, it's now possible to load up many applications, even memory-guzzling ones like Adobe Photoshop. Or is that only what we think?

Believe it or not, even if you have so much memory, you may still encounter problems loading up all the applications you want. In fact, you may also face problems with the applications that are already running!


http://www.rojakpot.com/default.aspx...ar1=238&var2=0

Paris
Reply With Quote top
  #2  
Old 07-22-2005, 10:06 AM
Gary Richardson's Avatar
Gary Richardson Gary Richardson is offline
Senior Member
 
Join Date: Mar 2004
Location: Yorkshire, England
Posts: 2,717
Interesting article Paris,

Desktop heap is a new one on me. I'm always a little wary about changing memory settings, as there's often unexpected consequences from doing so. The original programmers often had reasons for choosing the settings they used, other than the obvious ones.

The article also did not advise readers to do a registry backup before altering settings. I strongly recommend anyone wanting to try this to do so before attempting to change any settings in their registry.

Easiest way to do this is to go into Registry Editor, click on File/Export, set "Export Range" to "All" then Save it to a folder where you can find it.
To restore, (should things go wrong) double click on the Exported file. (Provided of course that you haven't fouled up your registry to a state where you can't recover the file).

My solutions simpler, don't have so many applications open at the same time. There's not usually any real reason (other than laziness) for not closing things after you've finished with them.
Reply With Quote top
  #3  
Old 07-22-2005, 11:57 AM
Paris's Avatar
Paris Paris is offline
Member
 
Join Date: Dec 2003
Location: Sydney - Australia
Posts: 83
Hi Gary,

Wise advice, always back up the registry before doing changing settings.

A long history with computers has taught me the importance of backing up and saving settings. It has become such second nature to do so that I neglect to include it in comments and statements I make.

There are many reasons for changing some settings especially in Windows XP however. The basic setup takes the safe line that every computer it will be installed on has a similar hardware and software configuration. In other words it tries to find the middle ground. But as systems change and parts and memory are added system settings do not necessarily change to reflect the new hardware and at times to get the most out of your computer changes need to be made.

There are many utilities out there for tweaking systems, several supplied by Microsoft. Overall though, I don't like these or use them as they offer too many confusing options that can conflict with each other and rather than optimize the system they slow it.

Occasionally I like to try small changes to see if they will make a noticeable difference and improve things. Sometimes I win, sometimes nothing.

To reiterate Gary's advice, "Alway backup."

Cheers
Paris
Reply With Quote top
  #4  
Old 07-22-2005, 01:35 PM
Craig Walters's Avatar
Craig Walters Craig Walters is offline
Senior Member
 
Join Date: Apr 2005
Location: somewhere over there
Posts: 8,786
Blog Entries: 4
hmmm, i couldnt get to the 2nd page of that thing. where it says 'let's take a look at the solution', 'solution' is highlighted and a rollover comes up and only will allow me to go microsoft's live meeting sign-up. thinking maybe i had a hijack, i ran hijackthis and removed a few suspicious items, but i still get the same thing in mozilla and it wont even load the page in i.e.

could someone post the rest of the article?

Craig
Reply With Quote top
  #5  
Old 07-22-2005, 01:39 PM
Gary Richardson's Avatar
Gary Richardson Gary Richardson is offline
Senior Member
 
Join Date: Mar 2004
Location: Yorkshire, England
Posts: 2,717
Hi Paris,

Not trying to put anyone off Tweaking their system (I'm an inveterate tweaker myself), just hinting that there are risks involved, and that gains in one area often cause losses in another.

At face value, the tweak you've linked to seems OK. Just wondering how many people will actually need the tweak, and how many will do it thinking its useful, when the simpler solution of shutting some of their processes down would have solved their problems.

Of course there are situations when this may not be possible, and your tweak will solve someone's problem.

Thanks for posting anyway.

Gary.
Reply With Quote top
  #6  
Old 07-22-2005, 01:42 PM
Gary Richardson's Avatar
Gary Richardson Gary Richardson is offline
Senior Member
 
Join Date: Mar 2004
Location: Yorkshire, England
Posts: 2,717
Hi Craig,

Here is the 2nd page.

The Solution

To correct this problem, all we need to do is increase the size of the desktop heap. That sounds simple but it actually requires us to edit the registry using the Registry Editor.

Editing the registry comes with a certain degree of risk. You may cause serious problems that may require you to reinstall Windows. If you have experience editing the registry, then doing so may not pose much of a problem. But if you have never tried editing the registry before, it's highly advisable you obtain the assistance of someone with experience.

Okay, if you are ready, let's get on with it!

1. Run the Registry Editor (usually found as drive:\Windows\regedit.exe).
2. Go to HKEY_LOCAL_MACHINE -> SYSTEM -> CurrentControlSet -> Control -> Session Manager -> SubSystems.

3. Double-click on the Windows string to edit it.

4. If you check the Value data, it should be something like this :-

%SystemRoot%\system32\csrss.exe ObjectDirectory=\Windows SharedSection=1024,3072,512 Windows=On SubSystemType=Windows ServerDll=basesrv,1 ServerDll=winsrv:UserServerDllInitialization,3 ServerDll=winsrv:ConServerDllInitialization,2 ProfileControl=Off MaxRequestThreads=16

5. The portion of interest is "SharedSection=1024,3072,512".
The three values under Shared Section determines how much memory in kilobytes (KB) is allocated to each component of the desktop heap.

The first value is the shared heap size, common to all desktops. It's used to store the global handle table and shared system settings.
By default, it's set to 1024KB. You generally do not need to modify this value.

The second value is the desktop heap size for each desktop associated with the "interactive" window station. It's used to store user objects like hooks, menus, strings and windows.
By default, it's set to 3072KB. The more users log into the system, the more desktops are created. Consequently, the total "interactive" desktop heap size will increase to reflect the number of desktops created. But each desktop will only have an "interactive" desktop heap of 3072KB.

The third value is the desktop heap size for each desktop associated with the "non-interactive" window station.
By default, it's set to 512KB. But if this value is not present, the size of the "non-interactive" window station will be the same as that of the "interactive" window station.
Every service process created under a user account will be given a new desktop in a "non-interactive" window station created by the Service Control Manager (SCM). Therefore, each of these services will consume the amount of desktop heap, as specified in the third SharedSection value.

6. The total desktop heap used in both interactive and non-interactive window stations must fit into the 48MB system-wide buffer.

Consequently, decreasing the second or third SharedSection values will increase the number of desktops that can be created. But it will reduce the number of hooks, menus, strings and windows that can be created within each desktop.

On the other hand, increasing the second of third SharedSection values will reduce the number of desktops that can be created. But it will increase the number of hooks, menus, strings and windows that can be created within each desktop.

In addition, increasing the third SharedSection value will reduce the number of user account services that can run successfully on the system.
7. To solve the problem we are facing, just increase the desktop heap for "interactive" window stations, which is the second SharedSection value. By default, it's set to 3072KB.
Try increasing it to 4096KB or to a higher value that addresses your problem. But please note that increasing this value will reduce the number of desktops that can be created.
8. Reboot the system for the changes to take effect.

That's it! Your system will now have a larger "interactive" desktop heap!


****There's a couple of Screen Shots from the page.
Attached Images
File Type: jpg Screen 1.jpg (47.4 KB, 3 views)
File Type: jpg Screen 2.jpg (15.5 KB, 2 views)

Last edited by Gary Richardson; 07-22-2005 at 01:47 PM.
Reply With Quote top
  #7  
Old 07-22-2005, 01:47 PM
Craig Walters's Avatar
Craig Walters Craig Walters is offline
Senior Member
 
Join Date: Apr 2005
Location: somewhere over there
Posts: 8,786
Blog Entries: 4
thanks, gary.

must be time to run anti-spyware again on my system.

Craig
Reply With Quote top
  #8  
Old 07-22-2005, 01:52 PM
Gary Richardson's Avatar
Gary Richardson Gary Richardson is offline
Senior Member
 
Join Date: Mar 2004
Location: Yorkshire, England
Posts: 2,717
Hi Craig,

No problem.

I'm currently doing a course on removing spyware. Real brain squeezer, there's a lot more to it than you'd think. Some of the new variants are a real pig to kill.

Hope you've not got anything serious, or better still nothing at all.

Best wishes,

Gary.
Reply With Quote top
  #9  
Old 07-22-2005, 02:07 PM
Craig Walters's Avatar
Craig Walters Craig Walters is offline
Senior Member
 
Join Date: Apr 2005
Location: somewhere over there
Posts: 8,786
Blog Entries: 4
thanks, gary.

i'm generally pretty careful and dont pick up much junk. i run ad-aware, hijackthis, norton anti-virus, have a router and a firewall (zone alarm) and keep winpatrol active at all times. i also prompt for all activex and cookies on sites where i havent been or dont know about, but it would seem i've picked up something if you guys can go to that site and simply click on 'solution' and get to the next page and i cant. i get that rollover thing and i can ONLY go there if i click on 'solution'. so, it would seem i've picked up something.

i found 4 suspicious items in hijackthis and removed them, but i still get that rollover thing. might be time to update hijackthis again or try ad-aware. might be that i could just flush my history/cache/temp folders too and get rid of it.

if you've got any other ideas, let me know.

Craig
Reply With Quote top
  #10  
Old 07-22-2005, 02:19 PM
Swampy's Avatar
Swampy Swampy is offline
Senior Member
 
Join Date: Feb 2005
Location: The Swamps of Florida
Posts: 4,418
Quote:
if you've got any other ideas, let me know
Get a Mac

(Sorry Craig... I just HAD to do it...)
Reply With Quote top
Reply

  RetouchPRO > Tools > Software


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help me tweak a photo... shoptangerine Photo Retouching 9 09-08-2007 06:11 PM
What's on your Desktop? Swampy Salon 29 12-07-2006 03:26 AM
Remote Collaberation biskit27 Photo Retouching 14 07-01-2006 08:20 AM
dpi... ppi ...resolution ..so confused nebgranny Input/Output/Workflow 4 08-23-2005 09:44 AM


All times are GMT -6. The time now is 04:12 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
Copyright © 2016 Doug Nelson. All Rights Reserved