My Oracle Support Banner

CM Getting PIN_ERR_NO_MEM while Calling PCM_OP_ACT_ACTIVITY Numbers of Time in a Transaction (Doc ID 2205494.1)

Last updated on JUNE 23, 2022

Applies to:

Oracle Communications Billing and Revenue Management - Version and later
Information in this document applies to any platform.


There is a custom Java application to process the invoice feed xmls. The xml file can have multiple line items for a particular account. The requirement is to do pass through rating for each invoice line item corresponding to an account and do 'Bill now' at the end. If any invoice line item processing fails, the transaction should be aborted. Otherwise, it has to be committed.

This application was working fine even if it got ~90K line items for an account before Patch Set (PS)14.
After PS14, the files with ~90K are failing in the middle due to the error in CM PIN_ERR_NO_MEM.

It is observed that the CM shared memory keeps growing when calling PCM_OP_ACT_ACTIVITY multiple times until it reaches 4GB and then gets PIN_ERR_NO_MEM. 


The issue can be reproduced at will with the following steps:
1. For a particular account, open a read/write transaction.
2. Call PCM_OP_ACT_ACTIVITY for each line item.
3. If all line items processed successfully, call PCM_OP_BILL_MAKE_BILL_NOW.
4. If no error, commit the transaction. Otherwise, abort the transaction.

Same issue is reported by other customer while running billing, here the cm's memory leak information from valgrind log,

==21961== at 0x40248EC: malloc (vg_replace_malloc.c:296)

==21961== by 0x40B8F45: pini_flist_grow (in /data/pind56/portal/7.5/lib/

==21961== by 0x40E1AE6: pin_flist_copy_exclude (in /data/pind56/portal/7.5/lib/

==21961== by 0x40E1CED: pin_flist_copy (in /data/pind56/portal/7.5/lib/

==21961== by 0x40874CC: cm_cache_find_entry (in /data/pind56/portal/7.5/lib/

==21961== by 0x628D86B: fm_bill_update_journal (in /data/pind56/portal/7.5/lib/

==21961== by 0x628FA60: op_bill_update_journal (in /data/pind56/portal/7.5/lib/

==21961== by 0x40AAE28: cm_pre_pcm_op (in /data/pind56/portal/7.5/lib/

==21961== by 0x40BD1F4: pcm_op_ex (in /data/pind56/portal/7.5/lib/

==21961== by 0x5746152: op_act_usage (in /data/pind56/portal/7.5/lib/

==21961== by 0x40AAE28: cm_pre_pcm_op (in /data/pind56/portal/7.5/lib/

==21961== by 0x40BD1F4: pcm_op_ex (in /data/pind56/portal/7.5/lib/




To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.