-
Notifications
You must be signed in to change notification settings - Fork 721
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When we snapshot on a machine with higher physical memory and restore on one with lower physical memory, the InstantOn JVM heap size will be larger than a usual JVM run on the restore machine. And the momory usage will be abnormally higher. Update the extension with the correct physical memory limit and utilize the existing softmax mechanism to solve the problem. Note we only update the softmax if it is larger than the minHeap size, smaller than the maxHeap size and previously set softmax size (if any). Related: #17596 Signed-off-by: Frank Kang <[email protected]>
- Loading branch information
1 parent
749f58c
commit 36112eb
Showing
4 changed files
with
95 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters