MGW gateway fails on startup with ORA-28576 after altering MGW memory parameters

(Doc ID 391517.1)

Last updated on FEBRUARY 19, 2018

Applies to:

Oracle Database - Enterprise Edition - Version to [Release 9.2 to 10.2]
Oracle Database - Enterprise Edition - Version to [Release 11.2]
IBM AIX on POWER Systems (64-bit)
Checked for currency 02-Aug-12


MGW fails to start and shows the following error on MGW_GATEWAY view:

ORA-28576: lost RPC connection to external procedure agent

For example, on AIX5L Based Systems (64-bit)  the MGW.LOG file displays similar information:

Unable to alloc heap of requested size, perhaps the maxdata value is too small
- see README.HTML for more information.
Unable to allocate an initial java heap of 536870912 bytes.
**Out of memory, aborting**

*** panic: JVMST016: Cannot allocate memory for initial java heap


Problem occurs after an attempt of increasing the max_memory parameter for the agent

max_threads => 3
,max_connections => 3
,max_memory => 512);


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms