Fixed
Pinned fields
Click on the next to a field label to start pinning.
Details
Components
Assignee
Mark KellyMark KellyReporter
Mark KellyMark KellyPriority
Not specifiedFix versions
Pull Request URL
Details
Details
Components
Assignee
Mark Kelly
Mark KellyReporter
Mark Kelly
Mark KellyPriority
Fix versions
Pull Request URL
Created January 4, 2024 at 7:54 PM
Updated January 5, 2024 at 2:50 PM
Resolved January 5, 2024 at 2:50 PM
If user's stack size resource limit is set to unlimited, as in:
% ulimit -s
unlimited
Then the ecl command (and possibly other HPCC programs) that try to load/initialize the plugin libjavaembed.so will fail with an error:
Invalid thread stack size: -Xss18446744073709551615
The specified size exceeds the maximum representable size.
module initialization 1:4096 threw exception
hqlcollect.cpp(362) : Trying to load dll : javaembed: Unable to initialize JVM (-6)
We can check for this and put a maximum size on the stack limit value passed to the jvm -Xss option.