Ability of PlusMemo at handling large amounts of text

Introduction

PlusMemo is very powerful at handling large amounts of text. Most applications will run happily without concerns about how much text is contained in the component. But if text size can exceed a few MB, you must be aware of practical limits, to avoid undue load on the system.

The practical limit greatly depends on hardware configuration, software configuration, and tolerance of the user to system degradation. It can range from a few MB to a few hundred MB. We provide below recommandations that in our experiences are on the safe side. If followed, we are confident that you will not receive negative feedback from your users. If you need to reach higher levels of load, we recommend that you experimentally determine whether the resulting application behaves acceptably or not.

The effects of too much text

Theoretically, PlusMemo can handle more than one billion characters. However, past a certain value, you will experience one or more of the following annoying effects:

Recommendations

Our basic recommendations concern both the number of characters and the number of paragraphs. The number of characters that can be handled easily depends mainly on the amount of RAM in the system, and should be kept below half of the RAM amount. The number of paragraphs is a complex function of RAM amount and processor power. We provide here recommendations for a few common configurations.

With syntax highlighting, maximum number of characters should be divided by four, the number of paragraphs by two. These recommendations are based on an average of one highlighting boundary every 25 characters, which is a quite heavily highlighted situation.

These data are summarized in the tables below:

Without syntax highlighting:

System class Maximum number of characters,
no syntax highlighting
(divide by two for the Unicode version)
Maximum number of paragraphs,
no syntax highlighting
Low end
Pentium I 100MHz, 32MB RAM
16 million 400 000
Mid range
Pentium III 330MHz, 128MB RAM
64 million 1 million
High end
Pentium IV, 2GHz, 512MB RAM
256 million 4 million

With syntax highlighting :

System class Maximum number of characters,
with syntax highlighting
Maximum number of paragraphs with syntax highligting
Low end
Pentium I 100MHz, 32MB RAM
4 million 200 000
Mid range
Pentium III 330MHz, 128MB RAM
16 million 500 000
High end
Pentium IV, 2GHz, 512MB RAM
64 million 2 million

Other recommendations are:

Return to PlusMemo pages