-
Notifications
You must be signed in to change notification settings - Fork 190
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 binary recording memmap efficient III (Avoiding spikes by only reserving memory equal to the trace) #1781
Make binary recording memmap efficient III (Avoiding spikes by only reserving memory equal to the trace) #1781
Conversation
Pytest runs all of their tests on the same process and the function that I have measures peak memory within the process so of course this failing. Thinking on how to best handles this. |
OK, with the recent merge of #2796 I got the willpower to finish this off. Test should be passing now and I fixed the merge conflicts. @alejoe91 @samuelgarcia same drills as in #2796 but this time for reading. |
@h-mayorquin I guess this is ready for merging. |
@samuelgarcia yes, makes sense. It was an old PR : ) |
This is a follow up from #1742, it only allocates opens a memmap pointing to the specific trace and not to the whole file.