MGW gateway fails on startup with ORA-28576 after altering MGW memory parameters (Doc ID 391517.1)

Last updated on FEBRUARY 08, 2017

Applies to:

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


Symptoms

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

Changes

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

BEGIN DBMS_MGWADM.ALTER_AGENT (
max_threads => 3
,max_connections => 3
,max_memory => 512);
END;
/

Cause

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