Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > Max number of open windows?

Reply
Thread Tools Display Modes

Max number of open windows?

 
 
maurizio.ceravolo@gmail.com
Guest
Posts: n/a

 
      10-06-2007
Hi,
I have a new notebook with Vista. When I work I use to open many
windows from explorer, Internet Explorer, Development tools,
documentation and going on. On my new notebook, I noticed that I can't
open endlessly windows. After 30 or 40 windows it stops to launch new
programs. I have 2 gbytes of ram, and never reach the limit of memory.
Is there a method to know which is this limit and is there a way to
improve it?
Thanks

 
Reply With Quote
 
 
 
 
Andrew McLaren
Guest
Posts: n/a

 
      10-06-2007
<> wrote...
> documentation and going on. On my new notebook, I noticed that I can't
> open endlessly windows. After 30 or 40 windows it stops to launch new
> programs. I have 2 gbytes of ram, and never reach the limit of memory.
> Is there a method to know which is this limit and is there a way to
> improve it?


Hi Maurizio

GDI and DWM both support an enormous number of windows, theoretically - for
GDI it is something ridiculous, like 64K windows open.

However, resource pools on the system will become depleted, long before you
hit this limit. The Desktop Heap is a one such resource, which often is the
first to be exhausted. At 30 or 40 windows, it does sound like you are
running out of desktop heap. Sometimes you get an error message; but often,
you find you just can't open any more windows.

Tony Schreiner has stpes to increase the size of your desktop heap, here:
http://blogs.msdn.com/tonyschr/archi...mitations.aspx

A more detailed explanation of what desktop heap is, and how it works, is
here:
http://blogs.msdn.com/ntdebugging/ar...-overview.aspx

There is a utility from Microsoft you can use to monitor Desktop Heap usage.
However it only works on W2K, XP and Server 2003; it doesn't work on Vista
(yet). But might be interesting if you want to explore desktop heap on any
XP machines you have:
http://www.microsoft.com/downloads/d...displaylang=en

Increasing the size of your desktop heap will let you open more windows.
Note that this will also use a bit more memory. And you may find you run out
again, around 70 or so Windows. But, 70 Windows is quite a lot :-), enough
for most common uses.

Hope it helps,

--
Andrew McLaren
amclar (at) optusnet dot com dot au


 
Reply With Quote
 
Paul Randall
Guest
Posts: n/a

 
      10-07-2007

"Andrew McLaren" <> wrote in message
news:59AEB77E-428F-4EFF-A30E-...
> <> wrote...
>> documentation and going on. On my new notebook, I noticed that I can't
>> open endlessly windows. After 30 or 40 windows it stops to launch new
>> programs. I have 2 gbytes of ram, and never reach the limit of memory.
>> Is there a method to know which is this limit and is there a way to
>> improve it?

>
> Hi Maurizio
>
> GDI and DWM both support an enormous number of windows, theoretically -
> for GDI it is something ridiculous, like 64K windows open.
>
> However, resource pools on the system will become depleted, long before
> you hit this limit. The Desktop Heap is a one such resource, which often
> is the first to be exhausted. At 30 or 40 windows, it does sound like you
> are running out of desktop heap. Sometimes you get an error message; but
> often, you find you just can't open any more windows.
>
> Tony Schreiner has stpes to increase the size of your desktop heap, here:
>
> http://blogs.msdn.com/tonyschr/archi...mitations.aspx
>
> A more detailed explanation of what desktop heap is, and how it works, is
> here:
>
> http://blogs.msdn.com/ntdebugging/ar...-overview.aspx
>
> There is a utility from Microsoft you can use to monitor Desktop Heap
> usage. However it only works on W2K, XP and Server 2003; it doesn't work
> on Vista (yet). But might be interesting if you want to explore desktop
> heap on any XP machines you have:
>
> http://www.microsoft.com/downloads/d...displaylang=en
>
> Increasing the size of your desktop heap will let you open more windows.
> Note that this will also use a bit more memory. And you may find you run
> out again, around 70 or so Windows. But, 70 Windows is quite a lot :-),
> enough for most common uses.


Hi, Andrew

The download page for the desktop heap monitor contains the non-useful
statement:
You need the correct version of the Win32k.sys symbol file via Microsoft
symbol server, or at local disk for installation. The following link would
be much more helpful. A copy and paste of the Method 1 command took care of
the symbol problem for me.

http://support.microsoft.com/kb/914216

-Paul Randall


 
Reply With Quote
 
Andrew McLaren
Guest
Posts: n/a

 
      10-07-2007
"Paul Randall" <> wrote ...
> The download page for the desktop heap monitor contains the non-useful
> statement:
> You need the correct version of the Win32k.sys symbol file via Microsoft
> symbol server, or at local disk for installation.


Hi Paul!

Well gee, I have _NT_SYMBOL_PATH defined on *all* my machines ... doesn't
everybody? :-)

But yes, if you go spelunking into low-level, anatomical details of the OS,
it won't always be a very user-friendly exercise. Mind you (or "mon Dieu",
as the French say) having a public symbol server on the Internet is a HUGE
improvement in user-friendliness, compared to how it used to be. Once upon a
time, we used to wait for CD-ROMs of debug symbols to arrive in the mail ...

And speaking as one who regularly debugs Windows, Solaris, and IBM software:
the Microsoft tools are generally far easier to use, than any other major
vendor. But of course, they could always be better.

> The following link would be much more helpful. A copy and paste of the
> Method 1 command took care of the symbol problem for me.
> http://support.microsoft.com/kb/914216


If you're not using debug symbols on a regular basis, that's probably the
best option.

Regards,
--
Andrew McLaren
amclar (at) optusnet dot com dot au


 
Reply With Quote
 
maurizio.ceravolo@gmail.com
Guest
Posts: n/a

 
      10-10-2007
Hi Andrew,
really really thanks!!!! I could not find any documentation about
this. You told me all I need it to know.
Very very interesting.
Thanks a lot :-)

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't open/save attachments in windows mail. Or open or run downlo Stead Windows Vista Mail 81 11-08-2009 11:16 PM
Number of Linux Distributions Surpasses Number of Users !!!!!! Moshe Goldfarb Windows Vista General Discussion 190 04-19-2008 10:32 PM
Where Does the Phone Number Go in Windows Fax and Scan? Gerry Windows Vista Printing / Faxing / Scanning 4 05-27-2007 11:54 AM
windows Vista Serial Number pintas Windows Vista General Discussion 2 04-26-2007 11:09 PM
Week number in Windows Calender? tas at mailueberfall.de Windows Vista General Discussion 1 09-01-2006 04:54 PM



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 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59