Joe McDonnell created IMPALA-13940:
--------------------------------------

             Summary: Memory leak when running targeted-perf's 
primitive_many_fragments
                 Key: IMPALA-13940
                 URL: https://issues.apache.org/jira/browse/IMPALA-13940
             Project: IMPALA
          Issue Type: Bug
          Components: Backend
    Affects Versions: Impala 5.0.0
            Reporter: Joe McDonnell


When running targeted-perf's primitive_many_fragments test case in a loop in a 
single impala-shell session, I see memory continually increase until it hits 
the memory limit:
{noformat}
Query state can be monitored at: 
http://joemcdonnell-22743:25000/query_plan?query_id=514ae852aad5406e:aa67c15900000000
2025-04-07 17:14:59 [Exception]  ERROR: Query 514ae852aad5406e:aa67c15900000000 
failed:
Failed to get minimum memory reservation of 1.11 GB on daemon 
joemcdonnell-22743:27000 for query 514ae852aad5406e:aa67c15900000000 due to 
following error: Memory limit exceeded: Could not allocate memory while trying 
to increase reservation.
Query(514ae852aad5406e:aa67c15900000000) could not allocate 1.11 GB without 
exceeding limit.
Error occurred on backend joemcdonnell-22743:27000
Memory left in process limit: 2.05 GB
Query(514ae852aad5406e:aa67c15900000000): Reservation=0 ReservationLimit=9.60 
GB OtherMemory=0 Total=0 Peak=0
Memory is likely oversubscribed. Reducing query concurrency or configuring 
admission control may help avoid this error.
{noformat}
[https://github.com/apache/impala/blob/master/testdata/workloads/targeted-perf/queries/primitive_many_fragments.test]

Untracked Memory: Total=9.05 GB


Oddly enough, it doesn't fail if I run each query in a separate impala-shell 
invocation. I will attach a repro.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to