Skip to content

Remove memmap dependency #417

@ibaryshnikov

Description

@ibaryshnikov

We had a memory leak related to working with too many open files simultaneously, because phase1-coordinator and phase1-cli rely on memmap. Also, verifier and contributor require to write the challenge on disk before running the computation. And file system calls often return errors. Having the ability to do the computations in memory rather than on open files will reduce the possibility of runtime errors, as well as the possibility of memory leaks related to holding the files open for too long. We can safely replace the memory map with fs read/write operations.

Metadata

Metadata

Assignees

Labels

1high priorityenhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions