Skip to content

Commit

Permalink
fixed memory checking for setting jupyter memory constraints
Browse files Browse the repository at this point in the history
  • Loading branch information
jaybdub committed Jan 17, 2021
1 parent eb9eb05 commit 4afe665
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ sudo systemctl enable docker
# check system memory
SYSTEM_RAM_KILOBYTES=$(awk '/^MemTotal:/{print $2}' /proc/meminfo)

if [ $SYSTEM_RAM_KILOBYTES -gt 3000000 ]
if [ $SYSTEM_RAM_KILOBYTES -lt 3000000 ]
then
export JETBOT_JUPYTER_MEMORY=500m
export JETBOT_JUPYTER_MEMORY_SWAP=3G
Expand Down

0 comments on commit 4afe665

Please sign in to comment.