René's URL Explorer Experiment


Title: 1.4.0rc1: Python-level memory "leak" (internal font cache?) · Issue #3264 · matplotlib/matplotlib · GitHub

Open Graph Title: 1.4.0rc1: Python-level memory "leak" (internal font cache?) · Issue #3264 · matplotlib/matplotlib

X Title: 1.4.0rc1: Python-level memory "leak" (internal font cache?) · Issue #3264 · matplotlib/matplotlib

Description: I'm currently testing the 1.4.0rc1 (had to change the min_version of freetype2 to 1.3, see #3262). It seems that the memory leak reported in #3197 is gone, but I still see a very slow but considerable increase in resident memory, and in ...

Open Graph Description: I'm currently testing the 1.4.0rc1 (had to change the min_version of freetype2 to 1.3, see #3262). It seems that the memory leak reported in #3197 is gone, but I still see a very slow but considera...

X Description: I'm currently testing the 1.4.0rc1 (had to change the min_version of freetype2 to 1.3, see #3262). It seems that the memory leak reported in #3197 is gone, but I still see a very slow but consi...

Mail addresses
notifications@github.com

Opengraph URL: https://github.com/matplotlib/matplotlib/issues/3264

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"1.4.0rc1: Python-level memory \"leak\" (internal font cache?)","articleBody":"I'm currently testing the 1.4.0rc1 (had to change the min_version of freetype2 to 1.3, see #3262). It seems that the memory leak reported in #3197 is gone, but I still see a very slow but considerable increase in resident memory, and in fact I can observe a constant Python object count growth of the following classes:\n\n```\n__builtin__.list 14645  +114\n__builtin__.dict    18076   +114\nmatplotlib.font_manager.FontProperties  761 +114\n```\n\n(measured using [objgraph](https://pypi.python.org/pypi/objgraph))\n\nSo I think between 1.3.1 and 1.4.0rc1 some kind of new \"leak\" appeared on Python level. It's not a real leak as the objects are accessible, so I guess it's a kind of internal font (property) cache which doesn't clear up old entries.\n\nTest script: \n\n``` python\nimport numpy as np\nimport matplotlib as mpl\nmpl.use('agg')\nimport matplotlib.pyplot as plt\n\nfor i in range(100000):\n    fig, ax = plt.subplots()         \n\n    circle1=plt.Circle((0,0),2,color='r',rasterized=True)\n    ax.add_artist(circle1)\n\n    fig.savefig('test.svg')\n    plt.close(fig)\n```\n\n**EDIT:** I had measured object count growth for 1.3.1 also, and there was no growth of any class there.\n","author":{"url":"https://github.com/letmaik","@type":"Person","name":"letmaik"},"datePublished":"2014-07-15T14:45:43Z","url":"https://github.com/matplotlib/matplotlib/issues/3264"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:5f9d5c49-ebbc-8c8a-f01e-8cdca1ad7178
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA69C:1916FD:54A4D7:74627C:6B068B28
html-safe-nonce45696f95b9f5b5104feaaafd2d195ee5862bf270e483618d0ff3cff5ab8a2067
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNjlDOjE5MTZGRDo1NEE0RDc6NzQ2MjdDOjZCMDY4QjI4IiwidmlzaXRvcl9pZCI6IjM3MDM3MTg4NjU3MTc4NTcwNjQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacc108f56ed3afccfb09e3589bc779a2eb4e5af3f07c2f90762209e726b371863c
hovercard-subject-tagissue:37890329
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/matplotlib/matplotlib/3264/issue_layout
twitter:imagehttps://opengraph.githubassets.com/80ef5bdb2dc13ae5859bc3c6a30bc787950d6428763ff85fdf85eb939a01918b/matplotlib/matplotlib/issues/3264
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/80ef5bdb2dc13ae5859bc3c6a30bc787950d6428763ff85fdf85eb939a01918b/matplotlib/matplotlib/issues/3264
og:image:altI'm currently testing the 1.4.0rc1 (had to change the min_version of freetype2 to 1.3, see #3262). It seems that the memory leak reported in #3197 is gone, but I still see a very slow but considera...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameletmaik
hostnamegithub.com
expected-hostnamegithub.com
None4462ff7ebfd3d551f202659f2423dae617b6849d23b1df6465dc504ef497d14a
turbo-cache-controlno-preview
go-importgithub.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git
octolytics-dimension-user_id215947
octolytics-dimension-user_loginmatplotlib
octolytics-dimension-repository_id1385122
octolytics-dimension-repository_nwomatplotlib/matplotlib
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1385122
octolytics-dimension-repository_network_root_nwomatplotlib/matplotlib
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release6d3909414814ff86ce7da4c51a0f4918a13fb41b
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/matplotlib/matplotlib/issues/3264#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fissues%2F3264
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fissues%2F3264
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=matplotlib%2Fmatplotlib
Reloadhttps://github.com/matplotlib/matplotlib/issues/3264
Reloadhttps://github.com/matplotlib/matplotlib/issues/3264
Reloadhttps://github.com/matplotlib/matplotlib/issues/3264
matplotlibhttps://github.com/matplotlib
matplotlibhttps://github.com/matplotlib/matplotlib
Codehttps://github.com/matplotlib/matplotlib
Issues1k (1k)https://github.com/matplotlib/matplotlib/issues
Pull requests429 (429)https://github.com/matplotlib/matplotlib/pulls
Actionshttps://github.com/matplotlib/matplotlib/actions
Projectshttps://github.com/matplotlib/matplotlib/projects
Wikihttps://github.com/matplotlib/matplotlib/wiki
Security and qualityhttps://github.com/matplotlib/matplotlib/security
Insightshttps://github.com/matplotlib/matplotlib/insights
https://github.com/matplotlib/matplotlib
New issuehttps://github.com/login?return_to=https://github.com/matplotlib/matplotlib/issues/3264
New issuehttps://github.com/login?return_to=https://github.com/matplotlib/matplotlib/issues/3264
1.4.0rc1: Python-level memory "leak" (internal font cache?)https://github.com/matplotlib/matplotlib/issues/3264#top
Release criticalhttps://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22Release%20critical%22
v1.4.0https://github.com/matplotlib/matplotlib/milestone/10
https://github.com/letmaik
letmaikhttps://github.com/letmaik
on Jul 15, 2014https://github.com/matplotlib/matplotlib/issues/3264#issue-37890329
#3262https://github.com/matplotlib/matplotlib/pull/3262
#3197https://github.com/matplotlib/matplotlib/issues/3197
objgraphhttps://pypi.python.org/pypi/objgraph
letmaikhttps://github.com/letmaik
on Jul 15, 2014https://github.com/matplotlib/matplotlib/issues/3264#event-141726270
https://github.com/WeatherGod
WeatherGodhttps://github.com/WeatherGod
on Jul 15, 2014https://github.com/matplotlib/matplotlib/issues/3264#issuecomment-49044661
#3262https://github.com/matplotlib/matplotlib/pull/3262
#3262https://github.com/matplotlib/matplotlib/pull/3262
#3197https://github.com/matplotlib/matplotlib/issues/3197
#3197https://github.com/matplotlib/matplotlib/issues/3197
#3264https://github.com/matplotlib/matplotlib/issues/3264
tacaswellhttps://github.com/tacaswell
v1.4.0https://github.com/matplotlib/matplotlib/milestone/10
on Jul 15, 2014https://github.com/matplotlib/matplotlib/issues/3264#event-141760012
https://github.com/tacaswell
tacaswellhttps://github.com/tacaswell
on Jul 15, 2014https://github.com/matplotlib/matplotlib/issues/3264#issuecomment-49052064
#3077https://github.com/matplotlib/matplotlib/pull/3077
tacaswellhttps://github.com/tacaswell
on Jul 18, 2014https://github.com/matplotlib/matplotlib/issues/3264#event-142942379
BUG : fixes FontProperties memory leakhttps://github.com/tacaswell/matplotlib/commit/a3b18a2df0d4e8f7e5381bac3a20e2c3450b2afc
https://docs.github.com/articles/closing-issues-via-commit-messages
a3b18a2https://github.com/tacaswell/matplotlib/commit/a3b18a2df0d4e8f7e5381bac3a20e2c3450b2afc
tacaswellhttps://github.com/tacaswell
has_patchhttps://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22has_patch%22
on Jul 18, 2014https://github.com/matplotlib/matplotlib/issues/3264#event-142945948
tacaswellhttps://github.com/tacaswell
completedhttps://github.com/matplotlib/matplotlib/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Jul 18, 2014https://github.com/matplotlib/matplotlib/issues/3264#event-143129772
joferkingtonhttps://github.com/joferkington
on Jul 23, 2014https://github.com/matplotlib/matplotlib/issues/3264#event-144451190
BUG : fixes FontProperties memory leakhttps://github.com/joferkington/matplotlib/commit/4285ede9992b8b1b3daf6506f14ecd4cb3f52554
https://docs.github.com/articles/closing-issues-via-commit-messages
4285edehttps://github.com/joferkington/matplotlib/commit/4285ede9992b8b1b3daf6506f14ecd4cb3f52554
jbmohlerhttps://github.com/jbmohler
on Aug 14, 2014https://github.com/matplotlib/matplotlib/issues/3264#event-152853997
BUG : fixes FontProperties memory leakhttps://github.com/jbmohler/matplotlib/commit/4665ed66af47e9f9ea31a0e4f69c1202b56c2b2f
https://docs.github.com/articles/closing-issues-via-commit-messages
4665ed6https://github.com/jbmohler/matplotlib/commit/4665ed66af47e9f9ea31a0e4f69c1202b56c2b2f
Sign up for freehttps://github.com/signup?return_to=https://github.com/matplotlib/matplotlib/issues/3264
Sign in to commenthttps://github.com/login?return_to=https://github.com/matplotlib/matplotlib/issues/3264
Release criticalhttps://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22Release%20critical%22
v1.4.0https://github.com/matplotlib/matplotlib/milestone/10
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.