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

Fix huge memory consumption for logging #458

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

ziegler-daniel
Copy link
Collaborator

@ziegler-daniel ziegler-daniel commented Dec 13, 2024

Logging of some objects (e.g. AxiosError) with inspect and the options { depth: null, maxArrayLength: null, maxStringLength: null } can cause a huge memory consumption as the strings become very large. Therefore, I switched back to the default limits of inspect.

@ziegler-daniel ziegler-daniel force-pushed the bugfix/huge_memory_consumption branch from feda978 to 199138e Compare December 13, 2024 07:27
@ziegler-daniel ziegler-daniel force-pushed the bugfix/huge_memory_consumption branch from 199138e to 5e68cf9 Compare December 13, 2024 07:31
@ziegler-daniel ziegler-daniel merged commit 6b69815 into master Dec 16, 2024
4 checks passed
@ziegler-daniel ziegler-daniel deleted the bugfix/huge_memory_consumption branch December 16, 2024 10:10
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.

2 participants