matatua / cnpack

Automatically exported from code.google.com/p/cnpack
0 stars 0 forks source link

"Out Of Memory" error produced during Delphi startup #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use CnPack in Delphi for several days
2. CnPack produces an "Out Of Memory" Error during startup
3. [Workaround] Productivity can be restored by the following:

a) Open "C:\Program Files (x86)\CnPack\CnWizards\User\CorRules.ini"; on my
system, this file is ~67MB when the out-of-memory error occurs.
b) In the section:

[snip]
CompName1=TForm
PropName1=Font.Name
ToValue1=<here is a VERY long line of binary stuff>       
[snip]

Change it to 

[snip]
CompName1=TForm
PropName1=Font.Name
ToValue1=Tahoma       
[snip]

c) CnPack will start correctly on the next Delphi startup.
d) The error will occur again in 1-3 weeks.

What version of the product are you using? On what operating system?

* Embarcadero® Delphi® 2010 Version 14.0.3593.25826 (Update 4, 5 and Help
Update 1 loaded);
* Windows XP x64;
* CnPack 0.9.5.554 

Please provide any additional information below.

For some reason, this problem doesn't occur on any of my colleague's
machines, only mine.  I cannot identify anything that is obviously
different them.  It *seems* as if that "ToValue1" line in CorRules.ini
keeps getting some binary information appended to it, and at some point the
file (or the line) becomes too big to be processed or read correctly during
a Delphi startup.

A saved CnPack configuration file (.cnw) that contains the broken
CorRules.ini file is attached.

Original issue reported on code.google.com by caleb.ha...@gmail.com on 4 Feb 2010 at 7:36

Attachments:

GoogleCodeExporter commented 9 years ago
Thank you for your report!

The wrong rule in CorRules.ini contains an Chinese AnsiString, maybe some error 
occurred during accessing CorRuls.ini in D2010 under English OS.

You may delete this rule or overwrite CnWizards\User\CorRules.ini and 
CnWizards\Data\CorRules.ini with attached CorRules.ini file. Also, we'll delete 
these rules in the next release.

Original comment by zjy.cnp...@gmail.com on 8 Feb 2010 at 7:43

Attachments:

GoogleCodeExporter commented 9 years ago
Ok, thanks for the reply.

Original comment by caleb.ha...@gmail.com on 8 Feb 2010 at 7:48

GoogleCodeExporter commented 9 years ago

Original comment by zhoujingyu@gmail.com on 14 Apr 2010 at 2:05