Salesforce

Cannot use memory-mapped procedure library if r-code codepage doesn't match -cpinternal

« Go Back

Information

 
TitleCannot use memory-mapped procedure library if r-code codepage doesn't match -cpinternal
URL NameCannot-use-memory-mapped-procedure-library-if-r-code-codepage-doesn-t-match-cpinternal
Article Number000126104
EnvironmentProduct: Progress
Version: 9.1x
Product: OpenEdge
Version: 10.0A through 10.2A
OS: All Supported Platforms
Question/Problem Description
Cannot use memory-mapped procedure library if r-code codepage doesn't match -cpinternal
Trying to do so results in "Code page  for memory-mapped r-code does not match -cpinternal . (9073)"
This can prevent the use of memory-mapped .pls in deployments where multiple codepages are used.
 
Steps to Reproduce
Clarifying Information
Memory-mapped libraries are normally used to reduce overall resource consumption on machines where multiple OpenEdge clients run - meaning: terminal servers, classic AppServer/classic WebSpeed hosts, etc. (See  How does using memory mapped shared libraries affect performance ? for more information)
Error MessageCode page for memory-mapped r-code does not match -cpinternal . (9073)
Defect NumberEnhancement PSC00208596 / OE00177769
Enhancement Number
Cause
If r-code and session codepage do not match, r-code Text segments need to be converted to session codepage (-cpinternal).
There's no codepage conversion mechanism in place to do this for memory-mapped procedure libaries.
Resolution
Upgrade to OpenEdge 10.2B or later. 

In current releases the codepage conversion is implemented:
- If the codepages do not match the text segment gets cloned to the session's -mmax pool in private memory, where the conversion then is performed.
- If the codepages do match, the text segment is read directly from the shared memory instead.

Therefore, using matching codepages is still recommended for maximum efficiency.
 
Workaround
Notes
References to Other Documentation:

Progress Article(s):
 How does using memory mapped shared libraries affect performance ?
Keyword Phrase
Last Modified Date11/20/2020 7:19 AM

Powered by