Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Translation] fix memoryleak in PhpFileLoader#34918

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fabpot merged 1 commit intosymfony:3.4fromnicolas-grekas:trans-leak
Dec 11, 2019

Conversation

@nicolas-grekas
Copy link
Member

@nicolas-grekasnicolas-grekas commentedDec 10, 2019
edited
Loading

QA
Branch?3.4
Bug fix?yes
New feature?no
Deprecations?no
Tickets-
LicenseMIT
Doc PR-

This happens when running the test suite with opcache disabled (as it is the case by default sinceopcache.enable_cli=0).
Doing this "require" in a loop (for each test case) compiles the file at each iteration and doesn't reclaim memory (there is no garbage collector for opcodes).

fabpot added a commit that referenced this pull requestDec 11, 2019
…olas-grekas)This PR was merged into the 4.3 branch.Discussion----------[Routing] fix memoryleak when loading compiled routes| Q             | A| ------------- | ---| Branch?       | 4.3| Bug fix?      | yes| New feature?  | no| Deprecations? | no| Tickets       | -| License       | MIT| Doc PR        | -Same as#34918 for Routing. That's the last significant memory hog I've identified.Commits-------85371a1 [Routing] fix memoryleak when loading compiled routes
@fabpot
Copy link
Member

Thank you@nicolas-grekas.

fabpot added a commit that referenced this pull requestDec 11, 2019
…kas)This PR was merged into the 3.4 branch.Discussion----------[Translation] fix memoryleak in PhpFileLoader| Q             | A| ------------- | ---| Branch?       | 3.4| Bug fix?      | yes| New feature?  | no| Deprecations? | no| Tickets       | -| License       | MIT| Doc PR        | -This happens when running the test suite with opcache disabled (as it is the case by default since `opcache.enable_cli=0`).Doing this "require" in a loop (for each test case) compiles the file at each iteration and doesn't reclaim memory (there is no garbage collector for opcodes).Commits-------5c9e3ba [Translation] fix memoryleak in PhpFileLoader
@fabpotfabpot merged commit5c9e3ba intosymfony:3.4Dec 11, 2019
@nicolas-grekasnicolas-grekas deleted the trans-leak branchDecember 13, 2019 13:57
This was referencedDec 19, 2019
This was referencedJan 21, 2020
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

3.4

Development

Successfully merging this pull request may close these issues.

3 participants

@nicolas-grekas@fabpot@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp