mirror of https://github.com/sbt/sbt.git
Reduce necessary memory
This commit is contained in:
parent
d50c597318
commit
2b462315e5
|
|
@ -76,9 +76,9 @@ addDebugger () {
|
|||
}
|
||||
|
||||
# a ham-fisted attempt to move some memory settings in concert
|
||||
# so they need not be dicked around with individually.
|
||||
# so they need not be dorked around with individually.
|
||||
get_mem_opts () {
|
||||
local mem=${1:-1536}
|
||||
local mem=${1:-1024}
|
||||
local perm=$(( $mem / 4 ))
|
||||
(( $perm > 256 )) || perm=256
|
||||
(( $perm < 1024 )) || perm=1024
|
||||
|
|
|
|||
Loading…
Reference in New Issue