Skip to content

Commit

Permalink
Merge pull request #20817 from vespa-engine/balder/tighter-heap-control
Browse files Browse the repository at this point in the history
Readuce minimum direct memory size from 75m to 16m
  • Loading branch information
jonmv authored Jan 14, 2022
2 parents 1d84bb2 + 7ef5635 commit c97ac2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ public void testUnconfiguredNoTuning() throws Exception {
assertEquals("-XX:+UseG1GC -XX:MaxTenuringThreshold=15", qrStartConfig.jvm().gcopts());
assertEquals(512, qrStartConfig.jvm().stacksize());
assertEquals(0, qrStartConfig.jvm().directMemorySizeCache());
assertEquals(75, qrStartConfig.jvm().baseMaxDirectMemorySize());
assertEquals(16, qrStartConfig.jvm().baseMaxDirectMemorySize());

assertReindexingConfigPresent(model);
assertReindexingConfiguredOnAdminCluster(model);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jvm.stacksize int default=512 restart
jvm.compressedClassSpaceSize int default=32 restart

## Base value of maximum direct memory size (in megabytes)
jvm.baseMaxDirectMemorySize int default=75 restart
jvm.baseMaxDirectMemorySize int default=16 restart

## Amount of direct memory used for caching. (in megabytes)
jvm.directMemorySizeCache int default=0 restart
Expand Down

0 comments on commit c97ac2e

Please sign in to comment.