Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
ray6080 committed Mar 16, 2023
1 parent 2272740 commit e465558
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/database.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ SystemConfig::SystemConfig(uint64_t maxBMMemory_) {
auto systemMemSize =
(std::uint64_t)sysconf(_SC_PHYS_PAGES) * (std::uint64_t)sysconf(_SC_PAGESIZE);
maxBMMemory_ = (uint64_t)(BufferPoolConstants::DEFAULT_PHY_MEM_SIZE_RATIO_FOR_BM *
(double_t)std::min(systemMemSize, (std::uint64_t)UINTPTR_MAX));
(double_t)std::min(systemMemSize, (std::uint64_t)UINTPTR_MAX));
}
maxBMMemory = maxBMMemory_;
maxNumThreads = std::thread::hardware_concurrency();
Expand Down

0 comments on commit e465558

Please sign in to comment.