Hello.

The built in memory profiler used guppy for the profiler but  unfortunately
guppy is not supported on python3.

https://beam.apache.org/releases/pydoc/2.13.0/_modules/apache_beam/utils/profiler.html


    try:
      from guppy import hpy  # pylint: disable=import-error
      self._hpy = hpy
      self._interval_second = interval_second
      self._timer = None
    except ImportError:
      warnings.warn('guppy is not installed; MemoryReporter not available.')
      self._hpy = None
    self._enabled = False

I am thinking of using memory profiler  but  I was wondering which memory
profiler do users of apache beam use for python 3.7.3 ?

https://pypi.org/project/memory-profiler/

Thanks,
Yu Watanabe

-- 
Yu Watanabe
Weekend Freelancer who loves to challenge building data platform
[email protected]
[image: LinkedIn icon] <https://www.linkedin.com/in/yuwatanabe1>  [image:
Twitter icon] <https://twitter.com/yuwtennis>

Reply via email to