Skip to content

Commit

Permalink
Merge pull request morganstanley#274 from smunix/fix.fregion-boundaries
Browse files Browse the repository at this point in the history
allocate off of a single 50GiB mmap region
  • Loading branch information
salumup authored Jun 5, 2019
2 parents 6b3ce2d + c383cac commit 0a8f8af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/hobbes/fregion.H
Original file line number Diff line number Diff line change
Expand Up @@ -859,7 +859,7 @@ inline imagefile* openFile(const std::string& fname, bool readonly, uint16_t min
imagefile* f = new imagefile();
f->path = fname;
f->readonly = readonly;
f->mmapPageMultiple = 262144; // map in 1GB increments
f->mmapPageMultiple = 50*262144; // map in 50GiB increments

try {
// open the file
Expand Down

0 comments on commit 0a8f8af

Please sign in to comment.