Skip to content
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

Make traffic_logcat more memory efficient #12053

Open
masaori335 opened this issue Feb 26, 2025 · 0 comments
Open

Make traffic_logcat more memory efficient #12053

masaori335 opened this issue Feb 26, 2025 · 0 comments

Comments

@masaori335
Copy link
Contributor

traffic_logcat tries to read entire LogBuffer once. However, it requires large buffer. I guess we can read and decode LogEntry one by one.

https://github.com/apache/trafficserver/blob/10.0.3/src/traffic_logcat/logcat.cc#L170-L173

https://github.com/apache/trafficserver/blob/10.0.3/src/traffic_logcat/logcat.cc#L185

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

No branches or pull requests

1 participant