Hi Neil,

> I can't reproduce this on Windows XP SP2. I set up SciTE to open
> full screen 1020x1680 windows with output.horizontal.size=200 so the
> output pane would also be active and with three files loaded. After
> 69
> instances, Windows refuses to open any more applications but all of
> the instances (well, the 20 or so I randomly tried) remained
> responsive. Windows refusing to open more copies happens with most
> applications: I could open 50 copies of WinMerge or 40 or so
> Internet
> Explorer's before it stopped. I gave up on Notepad after 102
> instances. Something is being exhausted here but I don't know what.
> Its not memory as less than half of installed RAM is used.

Thank you very much for testing this (thanks also to Iago). It's much 
appreciated. I have tried repeating the test in Win 2k, running under 
VMWare, and am glad to say that it worked fine, however on all my Win 
XP (SP 2) machines the problem persists. I have tested Scite, 
Programmers Notepad 2, AnyEdit, the PureBasic editor and my own app 
and they all have the problem. Notepad, my app with a richedit control 
and PSPad (uses SynEdit) don't so i hope you don't mind me assuming it 
is still a Scintilla problem (but perhaps specific to something i have 
installed on my XP machines if no-one else can reproduce it!). In 
testing, it doesn't have to be X different instances of whatever 
program is being tested, just X different (and physically large on 
screen) Scintilla controls where X is some large number that causes 
the problem.

> The right thing to do is to run your application under a debugger
> and break when you see a hang so that you can find out where the
> hang
> occurs. Another approach would be to use BoundsChecker which will
> tell
> you when an allocation call fails.

Unfortunately i am not a C/C++ programmer and my debugger skills leave 
something to be desired so as yet i haven't found anything specific. 
In my app i can see that Sci_SetText and Sci_GetText are still working 
correctly (i can set and retrieve the text but the controls do not 
update on-screen nor do they accept any keyboard input when this 
problem arises) so describing it as a hang before was probably 
incorrect and it seems that Scintilla just stops updating the screen 
contents. Probably the biggest clue so far that it is related to 
resources is that if i have PocoMail open and then open many Scintilla 
windows then PocoMail goes berserk with "Out of resource" errors.

I'll continue to look into it and if anyone has any further ideas or 
can reproduce this problem then please shout out!

Thanks again,
Mat


        
        
                
___________________________________________________________ 
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail 
http://uk.messenger.yahoo.com

_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to