Title: Memory leak with find operation · Issue #86 · CompanyBook/massive_record · GitHub
Open Graph Title: Memory leak with find operation · Issue #86 · CompanyBook/massive_record
X Title: Memory leak with find operation · Issue #86 · CompanyBook/massive_record
Description: Hi all, I explore memory consumtion problem in this place while !finish_inner do ... l1 = LineItem.find(line_item_id) l2 = LineItem.find(next_item_id) ... end memory will grow with speed 3Mb/each second I ensure about release l1.l2 temp ...
Open Graph Description: Hi all, I explore memory consumtion problem in this place while !finish_inner do ... l1 = LineItem.find(line_item_id) l2 = LineItem.find(next_item_id) ... end memory will grow with speed 3Mb/each s...
X Description: Hi all, I explore memory consumtion problem in this place while !finish_inner do ... l1 = LineItem.find(line_item_id) l2 = LineItem.find(next_item_id) ... end memory will grow with speed 3Mb/each s...
Opengraph URL: https://github.com/CompanyBook/massive_record/issues/86
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Memory leak with find operation","articleBody":"Hi all, \nI explore memory consumtion problem in this place\n\nwhile !finish_inner do\n#### \n\n...\n#### \n\n```\n l1 = LineItem.find(line_item_id)\n l2 = LineItem.find(next_item_id) \n```\n#### \n\n...\n#### \n\nend\n\nmemory will grow with speed 3Mb/each second\nI ensure about release l1.l2 temp variables. \n\nLineItem - usual data model with only text fields\n\nMemory was released after exit in cycle\nUnfortunatelly for me, my memory ending before cycle is done with Unable To allocate memory message.\n\n VERSION = \"0.2.3\"\nRails 3.2.0\nruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-linux]\n\nUPDATE: Explore the same thing with Model.find(:all, ....) operations\n","author":{"url":"https://github.com/comcava","@type":"Person","name":"comcava"},"datePublished":"2012-02-03T12:21:57.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/86/massive_record/issues/86"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:89bfcf1a-f3b6-91b3-d529-9d0b27883d17 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EBAE:3E650C:81A430F:AD2D3EA:698BBC4C |
| html-safe-nonce | 7419809bf2945c1e952a0b160cef4b46b357ecfb1eb77203138a88be0d2a06a0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQkFFOjNFNjUwQzo4MUE0MzBGOkFEMkQzRUE6Njk4QkJDNEMiLCJ2aXNpdG9yX2lkIjoiMTE4MzQxNTYwNjY3NTQ4NzgyMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 4259d7bc189a6ce6895984e9c7664278fe5da884f7a90f47357a49bbdc15dfcf |
| hovercard-subject-tag | issue:3082377 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/CompanyBook/massive_record/86/issue_layout |
| twitter:image | https://opengraph.githubassets.com/21fba87b85020392b416ca9bce5d476b8b595bb49e91b4f8a7c0128c8ac69209/CompanyBook/massive_record/issues/86 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/21fba87b85020392b416ca9bce5d476b8b595bb49e91b4f8a7c0128c8ac69209/CompanyBook/massive_record/issues/86 |
| og:image:alt | Hi all, I explore memory consumtion problem in this place while !finish_inner do ... l1 = LineItem.find(line_item_id) l2 = LineItem.find(next_item_id) ... end memory will grow with speed 3Mb/each s... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | comcava |
| hostname | github.com |
| expected-hostname | github.com |
| None | 640eeb7b6ff4d8d106235d228c0c286e82592d4d2403227b5b2b4fc5832297a4 |
| turbo-cache-control | no-preview |
| go-import | github.com/CompanyBook/massive_record git https://github.com/CompanyBook/massive_record.git |
| octolytics-dimension-user_id | 369620 |
| octolytics-dimension-user_login | CompanyBook |
| octolytics-dimension-repository_id | 1085208 |
| octolytics-dimension-repository_nwo | CompanyBook/massive_record |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1085208 |
| octolytics-dimension-repository_network_root_nwo | CompanyBook/massive_record |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3d444f0a47beeeac94cddbb51c91ab408befe8d4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width