Issue #1148 - the resources used by the gfesuite component in CAVE are now configurable.
Change-Id: Id0d2ae388ddd7c4a27c4fbae19de9c53ae8b718d Former-commit-id: 73e4cd41a465984eeba2dbf8d52be3682624a27d
This commit is contained in:
parent
2d7c80b0cf
commit
e0eeb865a1
2 changed files with 38 additions and 2 deletions
|
@ -90,6 +90,23 @@
|
|||
</max-perm>
|
||||
</ini-substitutions>
|
||||
</memory-setting>
|
||||
|
||||
<memory-setting>
|
||||
<command-line-args>
|
||||
<first-arg>-component</first-arg>
|
||||
<second-arg>gfeclient</second-arg>
|
||||
</command-line-args>
|
||||
|
||||
<ini-substitutions>
|
||||
<max-memory>
|
||||
<value>1536M</value>
|
||||
</max-memory>
|
||||
|
||||
<max-perm>
|
||||
<value>DEFAULT</value>
|
||||
</max-perm>
|
||||
</ini-substitutions>
|
||||
</memory-setting>
|
||||
</arch.x86>
|
||||
|
||||
<arch.x86_64>
|
||||
|
@ -148,6 +165,23 @@
|
|||
</max-perm>
|
||||
</ini-substitutions>
|
||||
</memory-setting>
|
||||
|
||||
<memory-setting>
|
||||
<command-line-args>
|
||||
<first-arg>-component</first-arg>
|
||||
<second-arg>gfeclient</second-arg>
|
||||
</command-line-args>
|
||||
|
||||
<ini-substitutions>
|
||||
<max-memory>
|
||||
<value>2048M</value>
|
||||
</max-memory>
|
||||
|
||||
<max-perm>
|
||||
<value>DEFAULT</value>
|
||||
</max-perm>
|
||||
</ini-substitutions>
|
||||
</memory-setting>
|
||||
</arch.x86_64>
|
||||
|
||||
</cave-memory-settings>
|
||||
</cave-memory-settings>
|
||||
|
|
|
@ -81,8 +81,10 @@ else
|
|||
export SWITCHES="${SWITCHES} -no_shader"
|
||||
fi
|
||||
|
||||
COMPONENT_ARGS="-component gfeclient"
|
||||
export LD_PRELOAD=libpython.so
|
||||
/awips2/cave/cave ${SWITCHES} -nosplash -component gfeclient "$@"
|
||||
lookupINI ${COMPONENT_ARGS}
|
||||
/awips2/cave/cave ${SWITCHES} ${CAVE_INI_ARG} -nosplash ${COMPONENT_ARGS} "$@"
|
||||
|
||||
if [ -n "$xvfb" ]
|
||||
then
|
||||
|
|
Loading…
Add table
Reference in a new issue