tillb | 27 Jun 2012 12:19

Error message "memory exhausted" on Windows 7

Hi there,

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?

Regards,
Till

--
You received this message because you are subscribed to the Google Groups "scite-interest" group.
To view this discussion on the web visit https://groups.google.com/d/msg/scite-interest/-/308nyneqgzIJ.
To post to this group, send email to scite-interest <at> googlegroups.com.
To unsubscribe from this group, send email to scite-interest+unsubscribe <at> googlegroups.com.
For more options, visit this group at http://groups.google.com/group/scite-interest?hl=en.
Philippe Lhoste | 27 Jun 2012 17:29
Picon

Re: Error message "memory exhausted" on Windows 7

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
--  --  --  --  --  --  --  --  --  --  --  --  --  --

--

-- 
You received this message because you are subscribed to the Google Groups "scite-interest" group.
To post to this group, send email to scite-interest <at> googlegroups.com.
To unsubscribe from this group, send email to scite-interest+unsubscribe <at> googlegroups.com.
For more options, visit this group at http://groups.google.com/group/scite-interest?hl=en.

Neil Hodgson | 28 Jun 2012 13:34

Re: Error message "memory exhausted" on Windows 7

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

--

-- 
You received this message because you are subscribed to the Google Groups "scite-interest" group.
To post to this group, send email to scite-interest <at> googlegroups.com.
To unsubscribe from this group, send email to scite-interest+unsubscribe <at> googlegroups.com.
For more options, visit this group at http://groups.google.com/group/scite-interest?hl=en.

tillb | 29 Jun 2012 14:48

Re: Error message "memory exhausted" on Windows 7



Neil Hodgson:

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.


Hi Neil,

i use unchanged property files. It doesn't matter if the PHP or HTML file are empty or not. But your hint with the property file was right. 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.

Regards,
Till

--
You received this message because you are subscribed to the Google Groups "scite-interest" group.
To view this discussion on the web visit https://groups.google.com/d/msg/scite-interest/-/KEe1m_prl_4J.
To post to this group, send email to scite-interest <at> googlegroups.com.
To unsubscribe from this group, send email to scite-interest+unsubscribe <at> googlegroups.com.
For more options, visit this group at http://groups.google.com/group/scite-interest?hl=en.
Neil Hodgson | 29 Jun 2012 15:03

Re: Error message "memory exhausted" on Windows 7

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

--
You received this message because you are subscribed to the Google Groups "scite-interest" group.
To post to this group, send email to scite-interest <at> googlegroups.com.
To unsubscribe from this group, send email to scite-interest+unsubscribe <at> googlegroups.com.
For more options, visit this group at http://groups.google.com/group/scite-interest?hl=en.
tillb | 29 Jun 2012 18:17

Re: Error message "memory exhausted" on Windows 7



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.

--
You received this message because you are subscribed to the Google Groups "scite-interest" group.
To view this discussion on the web visit https://groups.google.com/d/msg/scite-interest/-/dNpbNSstdSMJ.
To post to this group, send email to scite-interest <at> googlegroups.com.
To unsubscribe from this group, send email to scite-interest+unsubscribe <at> googlegroups.com.
For more options, visit this group at http://groups.google.com/group/scite-interest?hl=en.

Gmane