Hi have 12 TRichEdit in my application, the size in Memory of this Application ist 12 MB i think it is the TRichEdit...
In any TRichEdit i have only 500 lines...
I use it only for text in different collors...
best wisches, Frank
How reduce the space in memory of TRichEdit?
-
- Posts: 14
- Joined: Fri Jan 20, 2006 11:05 am
- Location: Germany
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
-
- Posts: 14
- Joined: Fri Jan 20, 2006 11:05 am
- Location: Germany
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
TRichViewEdit and TRichView use almost the same amount of resources.
(additional resources used for editing are very insignificant)
Probably, documents are created in nonoptimal way. For example, several items are used to represent adjacent text where one item could be used.
Try to call NormalizeRichView procedure (RVNormalize.pas from RichViewActions) for your documents, it can make them more optimal.
Also, the justify alignment requires more memory than other types of alignment.
(additional resources used for editing are very insignificant)
Probably, documents are created in nonoptimal way. For example, several items are used to represent adjacent text where one item could be used.
Try to call NormalizeRichView procedure (RVNormalize.pas from RichViewActions) for your documents, it can make them more optimal.
Also, the justify alignment requires more memory than other types of alignment.