Dmytro Sadovnychyi created BEAM-7279:
----------------------------------------

             Summary: Huge memory leak when using logging with invalid params 
on py27
                 Key: BEAM-7279
                 URL: https://issues.apache.org/jira/browse/BEAM-7279
             Project: Beam
          Issue Type: Bug
          Components: sdk-py-core
    Affects Versions: 2.12.0, 2.11.0
         Environment: macos, beam 2.11.0
            Reporter: Dmytro Sadovnychyi


This very exotic and invalid input to log function causes the memory usage go 
all the way up until it's killed by OS (so the worker dies with OOM).

```
import logging
import apache_beam as beam

[0] | beam.Map(lambda x: logging.warning('%203080000332%', 1))

```

Works as expected on python37 (raises TypeError), fails on python27 on macOS, 
linux and dataflow workers.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to