how to increase max number of opened windows for a given applicati

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

i have a situation where one of my application needs to open more that 50
windows. i guess xp limits maximum number of opened windows by one
application to somewhere around 50.
so i wonder if anybody knows how to increase that limit, ie registry change
or setting in windows or a link to info page???
please help.
 
Who said that there is a limit??? You have to have a fast machine with lots
of ram.

What application are you talking about
 
google search.
the application is matlab.
when number of graphs it creates is more than 50, it hangs.
probably because xp limits number of windows ( maybe created by java )
to 50, assuming it's a security problem...
i searched the registry for the setting and could not find one.
the machine is ok on ram and resources... plenty left.

any ideas?
 
google search.
the application is matlab.
when number of graphs it creates is more than 50, it hangs.
probably because xp limits number of windows ( maybe created by java )
to 50, assuming it's a security problem...
i searched the registry for the setting and could not find one.
the machine is ok on ram and resources... plenty left.

any ideas?

When Matlab fails, can you still open up other applications without any
problem?

I've been struggling with my office machine as of late--whenever Task
Manager shows I've got around 20,000 handles opened (in the Performance tab,
on the bottom left) things start to fail randomly until I either reboot or
bring that number back down by closing applications. Menus stop redrawing
themselves, buttons with show up without captions, shortcuts won't launch
applications. The instant I close a few apps, things go back to
normal...until I reach that 20,000 figure again (sometimes it's closer to
18,000, FWIW).

It doesn't make much sense on XP on a machine with 1.5GB RAM, but that's
been my observation...
 
try turning off ALL other applications running, even in the background...
look at your tray and stop them, also press ALT CTRL DEL and kill all the
processes you dont need and try again

there is a problem with windows RESOURCES indeed.

Futhermore what Java machine are you using?

If you are using suns one, you can try out MS one, or vise versa.
 
all of the suggestions here so far have no effect...
increasing swap file size, closing other tasks, etc...
i have java 1.5 1.4.2 and 1.4.3 installed
also have cacheboost that keeps plenty of memory on the machine.

the problem is that as soon as matlab opens more that 50 child graphs,
51,52,53... do display, the app hangs, the rest of the app and the os are
fine.

i did a search on google and found some comments from people saying that
windows may have a limit on number of child windows that a parent window
can have, ie about 50. i have the same problem...

this maybe either of the three:
1.xp has a child limit of 50, might be a recent sp2 security feature that
limits IE child window creation that somehow leaks onto other apps...
2.java has that limit, matlab does rely on java 1.4.2 , i found hava code
that can limit number of windows... here is the code
/* Limit number of windows created. */( If ( > ( Countall Window.Create )
100 )( Window.Create = false )
this is typically used as a security feature against spyware adware...
same thing might be true, ie some microsoft patch may limit jave child
window number...
3. this setting in either java or xp got overlooked in matlab.exe

***LATEST info:
ok, the problem seems to be with JAVA,
( java is total crap from my personal experience, nothing but problems )
matlab has a option of starting without java, so as soon as i disabled the
java
it started working making more that 50 windows...
at this point it looks like there is a setting in java that limits the
number of child
windows to 50... this might be an xp control setting, ie a security hole
patch or
even antivirus setting...
the problem is how to find the setting, ie registry or elsewhere... and how
to change that.
or maybe running a java script as above but i am not proficient with java...

what to do next? how to fix java to allow more than 50 child windows ?
 
Back
Top