Skip to content

Set memory baseline on MemoryCollector #1467

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 8, 2024
Merged

Conversation

erikn69
Copy link
Contributor

@erikn69 erikn69 commented Sep 19, 2023

Closes #1434
Complements of php-debugbar/php-debugbar#559

@cesarreyes3
Copy link

hi @barryvdh, could you check this?, thanks

@Rattone
Copy link

Rattone commented Feb 7, 2024

Why is this not being merged?

@cesarreyes3
Copy link

@Rattone hi, maybe @barryvdh has no time to review it

@barryvdh
Copy link
Owner

barryvdh commented Feb 8, 2024

I'm not really sure on the use case here, but okay.

@barryvdh barryvdh merged commit 52397af into barryvdh:master Feb 8, 2024
@erikn69 erikn69 deleted the patch-25 branch February 8, 2024 13:35
@Rattone
Copy link

Rattone commented Feb 8, 2024

@barryvdh sorry for the misunderstanding, I didn't mean to rush you but... this is not related to php-debugbar/php-debugbar#559 ?

@barryvdh
Copy link
Owner

barryvdh commented Feb 8, 2024

Yeah I understand that, but I'm not really sure if this is the best way. It feels a bit weird that it's excluding the bootstrap. But for Octane etc I do understand why you would need to reset the usage.

But not really sure why the memory is so different. I'd rather just 'have it work' correctly without config, but not sure. If Linux or windows reservers more memory, it would be sufficient to use the 'real' usage instead of the allocated usage?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

debug bar showing 19-21mb memory usage on clean install laravel (welcome page)
4 participants