Extract Abends With OGG-01435 mmap Errno: 12 (Cannot Allocate Memory) OGG-01028 (Doc ID 1321902.1)

Last updated on JULY 17, 2017

Applies to:

Oracle GoldenGate - Version 11.1.1.0.0 and later
Information in this document applies to any platform.

Symptoms

Extract abends with following error

2011-05-01 15:33:21 WARNING OGG-01435 mmap: len: 0x00010000 prot:
0x00000003 flags: 0x00000021 fd: -1 off: 0x00000000 errno: 12 (Cannot
allocate memory).

2011-05-01 15:33:21 WARNING OGG-01435 mmap: len: 0x00010000 prot:
0x00000003 flags: 0x00000021 fd: -1 off: 0x00000000 errno: 12 (Cannot
allocate memory).

2011-05-01 15:33:21 WARNING OGG-01268 cm_mmap: exceeded maximum allocation
attempts (2):.

2011-05-01 15:33:21 WARNING OGG-01262 The call to the cm_mmap() function
from line 942 in cm_mbuf_anon_get() failed with reason ''.

2011-05-01 15:33:21 WARNING OGG-01262 The call to the cm_mbuf_anon_get()
function from line 781 in cm_mbuf_get() failed with reason ''.

2011-05-01 15:33:21 WARNING OGG-01262 The call to the cm_mbuf_get()
function from line 695 in FM_tran_add_item() failed with reason ''.

Source Context :
SourceModule : [er.redo.ora.rtc]
SourceID :
[/home/ecloud/workspace/Build_FBO_OpenSys_r11.1.1.0.0_078_[34086]/perforce/src
/app/er/redo/oracle/rtc.c]
SourceFunction : [RTC_producer]
SourceLine : [1840]
ThreadBacktrace : [6] elements
:
[/disk01/app/ggs/gg_JMS/extract(CMessageContext::AddThreadContext()+0x26)
[0x62ab66]]
:
[/disk01/app/ggs/gg_JMS/extract(CMessageFactory::CreateMessage(CSourceContext*
, unsigned int, ...)+0x7b2) [0x621602]]
:
[/disk01/app/ggs/gg_JMS/extract(_MSG_ERR_ER_GENERIC_FAILURE(CSourceContext*,
char const*, CMessageFactory::MessageDisposition)+0x92) [0x5c6cc2]]
:
[/disk01/app/ggs/gg_JMS/extract(RTC_producer+0x85a) [0x9a1ffa]]
: [/lib64/libpthread.so.0 [0x33fc4064a7]]
: [/lib64/libc.so.6(clone+0x6d) [0x33fb8d3c2d]]

2011-05-01 15:33:21 ERROR OGG-01028 error (0, ) adding item for object 74
with ROWID AAAABKAABAAAAKbAAo to transaction 227.14.5511808909087760859
(0x00e3.00e.000261db).



Or:

2012-03-02 12:04:09 WARNING OGG-01435 Oracle GoldenGate Capture for Oracle, pf31ext.prm: mmap: len: 0x00010000 prot: 0x00000003 flags: 0x00000021 fd: -1 off: 0x00000000 errno: 23 (Too many open files in system).
2012-03-02 12:04:09 ERROR OGG-01028 Oracle GoldenGate Capture for Oracle, pf31ext.prm: error (120, cm_mmap: ggMmap: error: 120: obj_id: <33><01><2C><00><02><69><05><00>) adding item for object 60320 with ROWID AAAOugAAWAAEOcqAAk to transaction 307.44.354562 (0x0133.02c.00056902).
2012-03-02 12:04:09 WARNING OGG-01525 Oracle GoldenGate Capture for Oracle, pf31ext.prm: Failed to open trace output file, 'gglog-PF31EXT.dmp', error 23 (Too many open files in system).

 Or:

 

 

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