Merge "Issue #1148 - the resources used by the gfesuite component in CAVE are now configurable." into development

Former-commit-id: ebe2da8387 [formerly 605d00e89c56c794e00105edbd044bf6528e6e0a]
Former-commit-id: 92d38e8d1d
This commit is contained in:
Ron Anderson 2012-09-19 14:12:46 -05:00 committed by Gerrit Code Review
commit cd63496131
2 changed files with 38 additions and 2 deletions

View file

@ -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>

View file

@ -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