Summary
What is the maximum length of an unbounded string in Orbix 6.3?
What is the limit for unbounded strings in Orbix 6.3?
Environment
Orbix 6.3
All Supported OS
Question/Problem Description
This article clarifies the details around the maximum length of unbounded strings in Orbix 6.3?
Error Message
IT_Core:LENGTH_TOO_LARGE exception
Resolution
Orbix 6.3 C
For the Orbix 6.3 C ORB the maximum length of an unbounded string is as follows:
- Orbix 6.3.6: uses the constant: 64MB
- Orbix 6.3.7: uses the constant: 320MB
- Orbix 6.3.8 the unbounded string size limit has been removed, so that unbounded strings are fully unbounded in nature.
This variable only applies to the Java ORB and it enables you to specify the maximum permitted size of an unbounded string (in megabytes).
Must be a positive integer value greater than 0, and defaults to 128.
This value is also used to limit the size of wstrings (wide strings). However, the extra memory that wstrings typically require (typically two bytes for UTF-16 encoding, or 1 bytes for UTF-8) you may hit the upper limit with a smaller than anticipated wstring.
Support Incidents
2831620, 2860301
#Orbix
#KnowledgeDocs