Re: Error message "memory exhausted" on Windows 7

299 views
Skip to first unread message

Philippe Lhoste

unread,
Jun 27, 2012, 11:29:08 AM6/27/12
to scite-i...@googlegroups.com
On 27/06/2012 12:19, tillb wrote:
> when opening PHP files or changing the language to PHP in an open file, SciTE exits with
> the error message box "Failure in Scintilla: Memory exhausted. SciTE will now close." The
> same happens for hypertext. Other languages works fine. I have this problem since the
> change to Windows 7 (SP1 32 bit Enterprise).
>
> When running the self-compiled version (mingw) the problem is the same. The error message
> in this case is: "Microsoft Visual C++ Runtime Library: This application has requested the
> Runtime to terminate in an unusual way.".
>
> Are there any ideas what's the cause for this error?

No idea... :-(
But for the record, with SciTE 3.0.4 (a custom build) on Windows 7 (64 bit) I don't have
this problem at all, at least with reasonably sized files...
I haven't upgraded to 3.2, in case that's the version you are using.

Perhaps you can play with the latest settings (using DirectWrite or not), just in case.

--
Philippe Lhoste
-- (near) Paris -- France
-- http://Phi.Lho.free.fr
-- -- -- -- -- -- -- -- -- -- -- -- -- --



Neil Hodgson

unread,
Jun 28, 2012, 7:34:41 AM6/28/12
to scite-i...@googlegroups.com
tillb:

> when opening PHP files or changing the language to PHP in an open file, SciTE exits with the error message box "Failure in Scintilla: Memory exhausted. SciTE will now close." The same happens for hypertext. Other languages works fine. I have this problem since the change to Windows 7 (SP1 32 bit Enterprise).

I haven't seen this problem. The first thing to try is to remove any changes you have made to the .properties files and see if it still occurs. Then see if it happens with an empty PHP file.

Neil

Neil Hodgson

unread,
Jun 29, 2012, 9:03:49 AM6/29/12
to scite-i...@googlegroups.com
tillb:

I figured out that the crash of SciTE is caused by the lines with the variable $(font.vbs) in html.properties. With these lines commented out, PHP and HTML files can be opened and are formatted like expected.

   That is quite strange since not being able to use a font normally just means you get a default font instead of crashes. Perhaps you have a corrupt copy of Lucida Sans Unicode as that is what font.vbs is set to in global properties. You could change font.vbs to something else instead of changing html.properties. For example, adding to your user properties:
font.vbs=font:Segoe UI,size:10

   Neil

tillb

unread,
Jun 29, 2012, 12:17:22 PM6/29/12
to scite-i...@googlegroups.com


Neil Hodgson:
You could change font.vbs to something else instead of changing html.properties. For example, adding to your user properties:
font.vbs=font:Segoe UI,size:10



You are right again. There is no font "Lucida Sans Unicode" on my system. Using another font of the Lucida-family (or any other) in $(font.vbs) solves the problem. The only strange thing is, that other "non-existing fonts" don't lead to a crash.
Reply all
Reply to author
Forward
0 new messages