Conversation
…brary bug for JDK 21+.
|
Not sure this fully resolves #194. I still see memory expanding while the model is solving. This should be after all DSS data has been loaded into memory. See below for the upward trend from VisualVM.
I also see the memory footprint of |
Which project and configuration did you run where you hit these results? We probably need to include it in our testing suite so we can replicate the same results you are hitting on our end. |
Using the |
Will there be a separate PR, the description of this PR says it addresses memory as well. |
Yes, we will want this PR merged to resolve lookup and the follow-up work on memory should be a new PR. |
…I job to build for lookup library replacement verification.
@dwr-zroy I've run a few tests on the compute you referenced, but have not seen the same results. I do see a few A quick tell on whether the replacement worked successfully is whether the |
|
@zack-rma I pulled latest, cleaned and re-tested, and I am seeing the same as you. Thanks.
|
.github/workflows/Java_CI.yaml
Outdated
| run: | | ||
| ./gradlew -PcvmUserId="dwr-wrims-build" -PcvmPassword="${{ secrets.WRIMS_ENGINE_DEPENDENCIES_TOKEN }}" \ | ||
| :wrims-core:dependencyInsight --dependency lookup --configuration runtimeClasspath \ | ||
| | grep -F "^mil\.army\.usace\.hec:lookup:[^:\s]+$" && exit 1 || exit 0 |
There was a problem hiding this comment.
don't you need grep -E to use regex? Throw in a q for quiet as you dont need stdout.
https://www.gnu.org/software/grep/manual/grep.html#index-_002dE
There was a problem hiding this comment.
-F will look for literal
-F
--fixed-strings
Interpret patterns as fixed strings, not regular expressions. (-F is specified by POSIX.)
https://www.gnu.org/software/grep/manual/grep.html#index-_002dF
|











Description
Adds compatibility library to resolve memory and CPU usage bug introduced by transitive
Lookuplibrary dependency affecting JDK 21+. Swapsrma.util.Lookupusage for Netbeans Lookup API usinglookup-compatlibrary.Motivation and Context
Contributes to resolve #194
Types of changes
How Has This Been Tested?
Verified using WRIMS comparison test. CPU and memory usage compared before and after change using VisualVM. Went from ~100% CPU time for original lookup library to ~0% with Netbeans library.
Notes for Reviewers
Please consider the following when reviewing this PR: