GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — increased memory usage in 2.4.0 · Issue #394 · googleapis/python-bigquery
This repository was archived by the owner on Mar 6, 2026. It is now read-only.
This repository was archived by the owner on Mar 6, 2026. It is now read-only.
increased memory usage in 2.4.0 #394Copy link Copy link Closed Labels api: bigqueryIssues related to the googleapis/python-bigquery API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design. DescriptionVersion 2.4.0 of the library is allocating much more memory that the previous version, 2.3.1, when running multiple queries. I think that the problem is related to #374. Environment details
Steps to reproduceRun the script in the code example with The outputs on my machine are: With 2.4.0: With 2.3.1: Code examplePlease note that we are storing a reference to the import os import psutil from google.cloud import bigquery if __name__ == '__main__': client = bigquery.Client() process = psutil.Process(os.getpid()) print(f"Initial memory used: {process.memory_info().rss / 1e6:.0f} MB") jobs = [] for i in range(10): job = client.query("SELECT x FROM UNNEST(GENERATE_ARRAY(1, 1000000)) AS x") job.result().to_dataframe() jobs.append(job) print(f"Memory used: {process.memory_info().rss / 1e6:.0f} MB") Reacted by Riccardo Albertazzi, Andrea Bignoli, Giulio Cataldi, Davide Pedranz, Gabriele Platania, Enrico Martinelli, Paul Matthews, Andrea Riva, Lorenzo Migliorino, Aldo D'Aquino and 6 more Activity
MetadataMetadataAssigneesLabelsapi: bigqueryIssues related to the googleapis/python-bigquery API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design. TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |