Investigate mod-fqm-manager Out Of Memory Error

Description

When the user runs creating of 2 lists in parallel, mod-fqm-manager crashes with java.lang.OutOfMemoryError: Java heap space

Steps to recreate the issue:

Contains any, Contains all, Not contains any, Not contains all operators on the large data set (29 105 407 Instance records).

Conduct search for any 2 of the operators on the following data:

  • Instance records:

    • Statistical codes

Heap dumps:

The thread java.lang.Thread @ 0xcec9bfd0 mod-fqm-manager-5 keeps local variables with total size 2,095,532,864 (97.98%) bytes.

The memory is accumulated in one instance of java.lang.Object[], loaded by <system class loader>, which occupies 2,095,440,200 (97.97%) bytes.

Object / Stack Frame

Name

Shallow Heap

Retained Heap

Max. Locals' Retained Heap

  • at org.postgresql.core.v3.QueryExecutorImpl.processResults(Lorg/postgresql/core/ResultHandler;IZ)V (QueryExecutorImpl.java:2333)
    All objects

 

 

 

2,095,440,224

  • <local> org.postgresql.core.v3.QueryExecutorImpl @ 0x902242c8 »

 

216

17,920

 

  • <local> org.postgresql.jdbc.PgStatement$StatementResultHandler @ 0xcec9c240 »

 

40

40

 

  • <local> java.util.ArrayList @ 0xcec9c268 »

 

24

2,095,440,224

 

  • Total: 3 entries

 

280

2,095,458,184

 

 

 

 

Environment

rcp1

Potential Workaround

None

Attachments

5

Checklist

hide

Activity

Show:

Leonid Kolesnykov December 23, 2024 at 9:24 AM

OOM was not confirmed after retesting in updated PTF env to the Ramsons-release-branch.
Creating Lists with instances become available after assigning an absent permission for inventory storage - get list of instance-date-types.

Emma_Haroyan December 13, 2024 at 7:03 AM

Waiting for the proper env to be ready, after which the ticket will be tested by PTF team.

Mikita Siadykh December 10, 2024 at 11:46 AM

assigned to as it should be tested by PTF, possibly blocked by

Mikita Siadykh December 10, 2024 at 11:16 AM

in scope of which ticket should PTF complete testing?

Kathleen Moore October 31, 2024 at 1:23 PM

development is complete on this, however, we need PTF to verify the error no longer occurs. this will be grouped with some of the other bugs created by PTF and retested.

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Corsair

Release

Ramsons (R2 2024) Bug Fix

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created October 2, 2024 at 12:43 PM
Updated January 14, 2025 at 7:13 AM
Resolved December 23, 2024 at 2:02 PM
TestRail: Cases
TestRail: Runs