Bug 47677

Informational

GemStone/S 64 Bit

3.4.2, 3.4.1, 3.4, 3.3.6, 3.3.5, 3.3.4, 3.3.3, 3.3.2, 3.3.1, 3.3, 3.2.17, 3.2.16, 3.2.15, 3.2.14, 3.2.13, 3.2.12, 3.2.11, 3.2.10, 3.2.9, 3.2.8.1, 3.2.8, 3.2.7, 3.2.6, 3.2.5, 3.2.x, 3.2, 3.1.x

Linux

Very large gem TOC disables native code

Using a very large setting for GEM_TEMPOBJ_CACHE_SIZE, 10GB or larger, results in issues for the native code generator, which reports the warning message:
  native code DISABLED, offset from code memory to libgcilnk.so exceeds 32bits

In 3.2.x, this caused logins to fail with the error
   Fatal error in native code generation, emit_call_stub, jmp displacement exceeds 32bits Error Category: [GemStone] Number: 4151 Arg Count: 1

Workaround

In 3.2.x, reduce the GEM_TEMPOBJ_CACHE_SIZE to less than 10GB, or disable native code generation by setting GEM_NATIVE_CODE_ENABLED = 0;

The warnings in 3.3.x and 3.4.x can be ignored, although there may be performance differences in the absence of native code generation.


Last updated: 8/1/18