Skip to content

Conversation

@pierredup
Copy link
Contributor

Q A
Branch? 4.1
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #28350
License MIT
Doc PR N/A

The data collector for the messenger is currently unconditionally registered, which causes increased memory usage even in production. Instead, it should only be registered along with the rest of the data collectors only when the profiler is enabled

@sroze
Copy link
Contributor

sroze commented Sep 10, 2018

Thank you @pierredup.

@sroze sroze merged commit bd3a66b into symfony:4.1 Sep 10, 2018
sroze added a commit that referenced this pull request Sep 10, 2018
…ly when the profiler is enabled (pierredup)

This PR was merged into the 4.1 branch.

Discussion
----------

[FrameworkBundle] Register the messenger data collector only when the profiler is enabled

| Q             | A
| ------------- | ---
| Branch?       | 4.1
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #28350
| License       | MIT
| Doc PR        | N/A

The data collector for the messenger is currently unconditionally registered, which causes increased memory usage even in production. Instead, it should only be registered along with the rest of the data collectors only when the profiler is enabled

Commits
-------

bd3a66b Register the messenger data collector only when the profiler is enabled
@pierredup pierredup deleted the messenger branch September 10, 2018 10:51
chalasr pushed a commit that referenced this pull request Sep 16, 2018
…if messenger is not enabled (chalasr)

This PR was merged into the 4.1 branch.

Discussion
----------

[FrameworkBundle] Don't register MessengerDataCollector if messenger is not enabled

| Q             | A
| ------------- | ---
| Branch?       | 4.1
| Bug fix?      | no (not yet released)
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | n/a
| License       | MIT
| Doc PR        | n/a

Will fix `deps=high` SecurityBundle's build once merged up to master which is broken since #28418

Commits
-------

e64ceb5 [FrameworkBundle] Don't register MessengerDataCollector if messenger is not enabled
@konradja100
Copy link

Hi guys, how to test this patch in existing project? as i asume this bugfix will be released in 4.1.5 right?

@sroze
Copy link
Contributor

sroze commented Sep 24, 2018

Yes, it will. In the meantime, you could use the version 4.1@dev in Composer, it should get you the 4.1 branch that contains this change.

@fabpot fabpot mentioned this pull request Sep 30, 2018
@zeves095
Copy link

zeves095 commented Nov 1, 2018

v4.1.6 ) do'nt release memory in prod: http://prntscr.com/ld5yu3

@chalasr
Copy link
Member

chalasr commented Nov 1, 2018

@zeves095 Can you open a new issue with enough details to reproduce?

@zeves095
Copy link

zeves095 commented Nov 2, 2018

@zeves095 Can you open a new issue with enough details to reproduce?

#29067

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants