[
https://issues.apache.org/jira/browse/BEAM-7279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dmytro Sadovnychyi closed BEAM-7279.
------------------------------------
Resolution: Not A Bug
Fix Version/s: 2.11.0
2.12.0
Sorry, it's python issue, not related to beam.
> 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.11.0, 2.12.0
> Environment: macos, beam 2.11.0
> Reporter: Dmytro Sadovnychyi
> Priority: Critical
> Fix For: 2.12.0, 2.11.0
>
>
> 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)