René's URL Explorer Experiment


Title: Mitigate memory bloat with CSV exports by f1sherman · Pull Request #5251 · activeadmin/activeadmin · GitHub

Open Graph Title: Mitigate memory bloat with CSV exports by f1sherman · Pull Request #5251 · activeadmin/activeadmin

X Title: Mitigate memory bloat with CSV exports by f1sherman · Pull Request #5251 · activeadmin/activeadmin

Description: The administration framework for Ruby on Rails applications. - Mitigate memory bloat with CSV exports by f1sherman · Pull Request #5251 · activeadmin/activeadmin

Open Graph Description: As reported in #4118 large CSV exports can cause memory bloat via ActiveRecord::QueryCache. This change disables the query cache while performing a CSV export to mitigate.

X Description: As reported in #4118 large CSV exports can cause memory bloat via ActiveRecord::QueryCache. This change disables the query cache while performing a CSV export to mitigate.

Opengraph URL: https://github.com/activeadmin/activeadmin/pull/5251

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.3

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/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:2db2fe8e-67e8-8441-2024-3f17e34dad82
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9508:187983:2C46BF6:3A610E0:6B033045
html-safe-nonceadfd3a4e7aad973d5e0135e9f076c4a70c00d8856dec93c19a473216577e0959
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NTA4OjE4Nzk4MzoyQzQ2QkY2OjNBNjEwRTA6NkIwMzMwNDUiLCJ2aXNpdG9yX2lkIjoiNzc4MTc5Nzg3MjQxMjA3ODE0OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac8a81293fee442aab505c0a02c3b7eabbb09626a4ddae5076c76f7b2a8233c461
hovercard-subject-tagpull_request:153983565
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/activeadmin/activeadmin/5251/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/60e578344a9c8673aa4c858026054a4da14edbb2599e9b48d6a6a637c20cc391/activeadmin/activeadmin/pull/5251
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/60e578344a9c8673aa4c858026054a4da14edbb2599e9b48d6a6a637c20cc391/activeadmin/activeadmin/pull/5251
og:image:altAs reported in #4118 large CSV exports can cause memory bloat via ActiveRecord::QueryCache. This change disables the query cache while performing a CSV export to mitigate.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamef1sherman
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-cache
go-importgithub.com/activeadmin/activeadmin git https://github.com/activeadmin/activeadmin.git
octolytics-dimension-user_id814570
octolytics-dimension-user_loginactiveadmin
octolytics-dimension-repository_id611921
octolytics-dimension-repository_nwoactiveadmin/activeadmin
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id611921
octolytics-dimension-repository_network_root_nwoactiveadmin/activeadmin
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/activeadmin/activeadmin/pull/5251#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Factiveadmin%2Factiveadmin%2Fpull%2F5251
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%2Factiveadmin%2Factiveadmin%2Fpull%2F5251
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%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=activeadmin%2Factiveadmin
Reloadhttps://github.com/activeadmin/activeadmin/pull/5251
Reloadhttps://github.com/activeadmin/activeadmin/pull/5251
Reloadhttps://github.com/activeadmin/activeadmin/pull/5251
activeadminhttps://github.com/activeadmin
activeadminhttps://github.com/activeadmin/activeadmin
Codehttps://github.com/activeadmin/activeadmin
Issues5 (5)https://github.com/activeadmin/activeadmin/issues
Pull requests35 (35)https://github.com/activeadmin/activeadmin/pulls
Discussionshttps://github.com/activeadmin/activeadmin/discussions
Actionshttps://github.com/activeadmin/activeadmin/actions
Projectshttps://github.com/activeadmin/activeadmin/projects
Wikihttps://github.com/activeadmin/activeadmin/wiki
Security and quality3 (3)https://github.com/activeadmin/activeadmin/security
Insightshttps://github.com/activeadmin/activeadmin/insights
https://github.com/activeadmin/activeadmin
varyonichttps://github.com/varyonic
activeadmin:masterhttps://github.com/activeadmin/activeadmin/tree/master
f1sherman:4118-mitigate-csv-activerecord-memory-bloathttps://github.com/f1sherman/activeadmin/tree/4118-mitigate-csv-activerecord-memory-bloat
Conversationhttps://github.com/activeadmin/activeadmin/pull/5251
Commits1 (1)https://github.com/activeadmin/activeadmin/pull/5251/commits
Checkshttps://github.com/activeadmin/activeadmin/pull/5251/checks
Files changedhttps://github.com/activeadmin/activeadmin/pull/5251/files
Mitigate memory bloat with CSV exportshttps://github.com/activeadmin/activeadmin/pull/5251#top
varyonichttps://github.com/varyonic
activeadmin:masterhttps://github.com/activeadmin/activeadmin/tree/master
f1sherman:4118-mitigate-csv-activerecord-memory-bloathttps://github.com/f1sherman/activeadmin/tree/4118-mitigate-csv-activerecord-memory-bloat
https://github.com/f1sherman
f1shermanhttps://github.com/f1sherman
Nov 21, 2017https://github.com/activeadmin/activeadmin/pull/5251#issue-275836438
#4118https://github.com/activeadmin/activeadmin/issues/4118
Please reload this pagehttps://github.com/activeadmin/activeadmin/pull/5251
https://github.com/f1sherman
f1shermanhttps://github.com/f1sherman
force-pushedhttps://github.com/activeadmin/activeadmin/compare/5438a746993c278eb94033d400ff6de964dfbab0..20081806c6627cd5905905f195b83a6f41fd3e28
5438a74https://github.com/activeadmin/activeadmin/commit/5438a746993c278eb94033d400ff6de964dfbab0
2008180https://github.com/activeadmin/activeadmin/commit/20081806c6627cd5905905f195b83a6f41fd3e28
Compare https://github.com/activeadmin/activeadmin/compare/5438a746993c278eb94033d400ff6de964dfbab0..20081806c6627cd5905905f195b83a6f41fd3e28
November 21, 2017 19:49https://github.com/activeadmin/activeadmin/pull/5251#event-1352731351
https://github.com/varyonic
varyonichttps://github.com/varyonic
Nov 21, 2017 https://github.com/activeadmin/activeadmin/pull/5251#pullrequestreview-78274471
View reviewed changes https://github.com/activeadmin/activeadmin/pull/5251/files
lib/active_admin/csv_builder.rbhttps://github.com/activeadmin/activeadmin/pull/5251/files#diff-970fe99c53d0193e6e83dad55e40b0b93058c749deac7f2c33293255e8d9f4a5
varyonichttps://github.com/varyonic
Nov 21, 2017https://github.com/activeadmin/activeadmin/pull/5251#discussion_r152414676
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/activeadmin/activeadmin/pull/5251
f1shermanhttps://github.com/f1sherman
Nov 21, 2017https://github.com/activeadmin/activeadmin/pull/5251#discussion_r152422361
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@varyonichttps://github.com/varyonic
Please reload this pagehttps://github.com/activeadmin/activeadmin/pull/5251
https://github.com/varyonic
varyonichttps://github.com/varyonic
Nov 22, 2017 https://github.com/activeadmin/activeadmin/pull/5251#pullrequestreview-78309249
View reviewed changes https://github.com/activeadmin/activeadmin/pull/5251/files
lib/active_admin/csv_builder.rbhttps://github.com/activeadmin/activeadmin/pull/5251/files#diff-970fe99c53d0193e6e83dad55e40b0b93058c749deac7f2c33293255e8d9f4a5
varyonichttps://github.com/varyonic
Nov 22, 2017https://github.com/activeadmin/activeadmin/pull/5251#discussion_r152445552
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/activeadmin/activeadmin/pull/5251
f1shermanhttps://github.com/f1sherman
Nov 22, 2017https://github.com/activeadmin/activeadmin/pull/5251#discussion_r152449140
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@varyonichttps://github.com/varyonic
Please reload this pagehttps://github.com/activeadmin/activeadmin/pull/5251
https://github.com/f1sherman
f1shermanhttps://github.com/f1sherman
force-pushedhttps://github.com/activeadmin/activeadmin/compare/cac35706b87f2b490b72aefd449d2beca175d9b0..20081806c6627cd5905905f195b83a6f41fd3e28
cac3570https://github.com/activeadmin/activeadmin/commit/cac35706b87f2b490b72aefd449d2beca175d9b0
2008180https://github.com/activeadmin/activeadmin/commit/20081806c6627cd5905905f195b83a6f41fd3e28
Compare https://github.com/activeadmin/activeadmin/compare/cac35706b87f2b490b72aefd449d2beca175d9b0..20081806c6627cd5905905f195b83a6f41fd3e28
November 22, 2017 01:35https://github.com/activeadmin/activeadmin/pull/5251#event-1353194565
https://github.com/varyonic
varyonichttps://github.com/varyonic
Nov 22, 2017 https://github.com/activeadmin/activeadmin/pull/5251#pullrequestreview-78571546
View reviewed changes https://github.com/activeadmin/activeadmin/pull/5251/files
https://github.com/Fivell
Fivellhttps://github.com/Fivell
Nov 24, 2017 https://github.com/activeadmin/activeadmin/pull/5251#pullrequestreview-78935008
View reviewed changes https://github.com/activeadmin/activeadmin/pull/5251/files
Fivellhttps://github.com/Fivell
https://github.com/activeadmin/activeadmin/pull/5251#pullrequestreview-78935008
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@f1shermanhttps://github.com/f1sherman
@varyonichttps://github.com/varyonic
activeadmin/lib/active_admin/resource_controller/streaming.rbhttps://github.com/activeadmin/activeadmin/blob/d01155f73a0e2cc27d712792270357e2b3759d05/lib/active_admin/resource_controller/streaming.rb#L38
d01155fhttps://github.com/activeadmin/activeadmin/commit/d01155f73a0e2cc27d712792270357e2b3759d05
Please reload this pagehttps://github.com/activeadmin/activeadmin/pull/5251
https://github.com/varyonic
varyonichttps://github.com/varyonic
stale reviewhttps://github.com/activeadmin/activeadmin/pull/5251#pullrequestreview-78571546
November 24, 2017 15:14https://github.com/activeadmin/activeadmin/pull/5251#event-1357297096
https://github.com/f1sherman
Mitigate memory bloat with CSV exportshttps://github.com/activeadmin/activeadmin/pull/5251/commits/d00792fbf26fe4f49b0c14147c8fd0c5451b8a14
d00792fhttps://github.com/activeadmin/activeadmin/pull/5251/commits/d00792fbf26fe4f49b0c14147c8fd0c5451b8a14
activeadmin#4118https://github.com/activeadmin/activeadmin/issues/4118
https://github.com/f1sherman
f1shermanhttps://github.com/f1sherman
Nov 24, 2017https://github.com/activeadmin/activeadmin/pull/5251#issuecomment-346858876
@Fivellhttps://github.com/Fivell
display_helper.rbhttps://github.com/activeadmin/activeadmin/blob/a473cb68baee260021957ba3d6c3398459a4c551/lib/active_admin/view_helpers/display_helper.rb#L73
Please reload this pagehttps://github.com/activeadmin/activeadmin/pull/5251
https://github.com/f1sherman
f1shermanhttps://github.com/f1sherman
force-pushedhttps://github.com/activeadmin/activeadmin/compare/20081806c6627cd5905905f195b83a6f41fd3e28..d00792fbf26fe4f49b0c14147c8fd0c5451b8a14
2008180https://github.com/activeadmin/activeadmin/commit/20081806c6627cd5905905f195b83a6f41fd3e28
d00792fhttps://github.com/activeadmin/activeadmin/commit/d00792fbf26fe4f49b0c14147c8fd0c5451b8a14
Compare https://github.com/activeadmin/activeadmin/compare/20081806c6627cd5905905f195b83a6f41fd3e28..d00792fbf26fe4f49b0c14147c8fd0c5451b8a14
November 24, 2017 16:01https://github.com/activeadmin/activeadmin/pull/5251#event-1357361673
https://github.com/Fivell
Fivellhttps://github.com/Fivell
Nov 24, 2017https://github.com/activeadmin/activeadmin/pull/5251#issuecomment-346862862
Please reload this pagehttps://github.com/activeadmin/activeadmin/pull/5251
@f1shermanhttps://github.com/f1sherman
activeadmin/lib/active_admin/resource.rbhttps://github.com/activeadmin/activeadmin/blob/5b711b6e22230e6e28be2a9d7367e9423d5dcc25/lib/active_admin/resource.rb#L50
5b711b6https://github.com/activeadmin/activeadmin/commit/5b711b6e22230e6e28be2a9d7367e9423d5dcc25
Please reload this pagehttps://github.com/activeadmin/activeadmin/pull/5251
https://github.com/f1sherman
f1shermanhttps://github.com/f1sherman
Nov 24, 2017https://github.com/activeadmin/activeadmin/pull/5251#issuecomment-346875095
Please reload this pagehttps://github.com/activeadmin/activeadmin/pull/5251
@Fivellhttps://github.com/Fivell
herehttps://github.com/activeadmin/activeadmin/blob/9af04e7516fc8b34bb126990a1b1a05b57f3b0c7/lib/active_admin/resource_controller/streaming.rb#L27
Please reload this pagehttps://github.com/activeadmin/activeadmin/pull/5251
https://github.com/Fivell
Fivellhttps://github.com/Fivell
Nov 24, 2017https://github.com/activeadmin/activeadmin/pull/5251#issuecomment-346878406
Please reload this pagehttps://github.com/activeadmin/activeadmin/pull/5251
@f1shermanhttps://github.com/f1sherman
Please reload this pagehttps://github.com/activeadmin/activeadmin/pull/5251
https://github.com/Fivell
Fivellhttps://github.com/Fivell
Nov 24, 2017 https://github.com/activeadmin/activeadmin/pull/5251#pullrequestreview-78969540
View reviewed changes https://github.com/activeadmin/activeadmin/pull/5251/files/d00792fbf26fe4f49b0c14147c8fd0c5451b8a14
https://github.com/varyonic
varyonichttps://github.com/varyonic
0d0591dhttps://github.com/activeadmin/activeadmin/commit/0d0591d10138414e40daf564eaf0df2c7723b3a2
Nov 24, 2017https://github.com/activeadmin/activeadmin/pull/5251#event-1357600093
https://github.com/deivid-rodriguez
deivid-rodriguezhttps://github.com/deivid-rodriguez
Nov 25, 2017https://github.com/activeadmin/activeadmin/pull/5251#issuecomment-346942840
#5218https://github.com/activeadmin/activeadmin/pull/5218
Please reload this pagehttps://github.com/activeadmin/activeadmin/pull/5251
https://github.com/varyonic
varyonichttps://github.com/varyonic
Nov 25, 2017 https://github.com/activeadmin/activeadmin/pull/5251#ref-pullrequest-267692085
Do not cache queries that are used to construct CSV exports #5218 https://github.com/activeadmin/activeadmin/pull/5218
https://github.com/fredngo
fredngohttps://github.com/fredngo
Nov 27, 2017https://github.com/activeadmin/activeadmin/pull/5251#issuecomment-347249691
#5218https://github.com/activeadmin/activeadmin/pull/5218
Please reload this pagehttps://github.com/activeadmin/activeadmin/pull/5251
varyonichttps://github.com/varyonic
Dec 15, 2017 https://github.com/activeadmin/activeadmin/pull/5251#ref-commit-2e9b2aa
https://github.com/f1sherman
https://github.com/varyonic
Backporthttps://github.com/activeadmin/activeadmin/commit/2e9b2aa33f63c3dfa16ebcd44d66ce0899c5c3a0
#5251https://github.com/activeadmin/activeadmin/pull/5251
: Mitigate memory bloat with CSV exportshttps://github.com/activeadmin/activeadmin/commit/2e9b2aa33f63c3dfa16ebcd44d66ce0899c5c3a0
2e9b2aahttps://github.com/activeadmin/activeadmin/commit/2e9b2aa33f63c3dfa16ebcd44d66ce0899c5c3a0
#4118https://github.com/activeadmin/activeadmin/issues/4118
https://github.co/hiddenchars
https://github.com/activeadmin/activeadmin/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Factiveadmin%2Factiveadmin%2Fpull%2F5251
https://github.com/Fivell
Fivell https://github.com/Fivell
https://github.com/activeadmin/activeadmin/pull/5251/files/d00792fbf26fe4f49b0c14147c8fd0c5451b8a14
https://github.com/varyonic
varyonic https://github.com/varyonic
https://github.com/activeadmin/activeadmin/pull/5251/files/20081806c6627cd5905905f195b83a6f41fd3e28
Please reload this pagehttps://github.com/activeadmin/activeadmin/pull/5251
Please reload this pagehttps://github.com/activeadmin/activeadmin/pull/5251
https://github.com/f1sherman
https://github.com/Fivell
https://github.com/deivid-rodriguez
https://github.com/fredngo
https://github.com/varyonic
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-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.