Message format length
search cancel

Message format length

book

Article ID: 10155

calendar_today

Updated On:

Products

CA Plex

Issue/Introduction

We use Format Message to concatenate long fields. In certain cases when fields are too long, application crashes at the Format Message statement and we want to be able to manipulate very long fields.

Application crashed related Format string seems has a limit of 2048. Anyway we can make this limit bigger?

Environment

CA Plex 7.2.1 and higher

Resolution

The default string length limit is 2048. You could add the following section in your Plex-install\Plex.ini file and enlarge the limit:


Max String Size=<MaximumLenghOfTheString>

For example


Max String Size=3060

Additional Information

Though there is no limit for the string size setting, you should be aware that you should only set the 'Max String Size' value to be something that is just large enough to accommodate the requirements, but not so huge that the runtime runs out of memory. If a field has to be very big, consider using some file to store the value instead of a field.