Skip to content

Memory usage #623

Closed as not planned
Closed as not planned
@bearprevent

Description

@bearprevent

Environment details

  • OS type and version: Ubuntu 22.04.1
  • Python version: 3.10.4
  • pip version: 22.0.2
  • google-cloud-logging version: 3.2.2

Steps to reproduce

Loading the logging library already uses more than 40MB.
This is quite a burden for smaller systems.

Is there any alternative way of using this library without such a memory footprint?

  1. python -c 'import os; print(os.system(f"ps -q {os.getpid()} -o rss="))
    - 7888 KB
  2. python -c 'import os; import google.cloud.logging; print(os.system(f"ps -q {os.getpid()} -o rss="))'
    - 50424 KB

Metadata

Metadata

Assignees

Labels

2023-triageapi: loggingIssues related to the googleapis/python-logging API.priority: p3Desirable enhancement or fix. May not be included in next release.type: questionRequest for information or clarification. Not an issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions