mirror of
https://github.com/penpot/penpot.git
synced 2025-01-22 14:39:45 -05:00
📎 Add better approach for set devenv jvm resource limits
This commit is contained in:
parent
2e4a5aee61
commit
12d7b0521d
5 changed files with 8 additions and 8 deletions
|
@ -75,7 +75,7 @@ export OPTIONS="
|
||||||
export OPTIONS="$OPTIONS -J--enable-preview"
|
export OPTIONS="$OPTIONS -J--enable-preview"
|
||||||
|
|
||||||
# Setup HEAP
|
# Setup HEAP
|
||||||
export OPTIONS="$OPTIONS -J-Xms50m -J-Xmx1024m"
|
# export OPTIONS="$OPTIONS -J-Xms50m -J-Xmx1024m"
|
||||||
# export OPTIONS="$OPTIONS -J-Xms1100m -J-Xmx1100m -J-XX:+AlwaysPreTouch"
|
# export OPTIONS="$OPTIONS -J-Xms1100m -J-Xmx1100m -J-XX:+AlwaysPreTouch"
|
||||||
|
|
||||||
# Increase virtual thread pool size
|
# Increase virtual thread pool size
|
||||||
|
@ -88,7 +88,7 @@ export OPTIONS="$OPTIONS -J-Xms50m -J-Xmx1024m"
|
||||||
# export OPTIONS="$OPTIONS -J-Xint"
|
# export OPTIONS="$OPTIONS -J-Xint"
|
||||||
|
|
||||||
# Setup GC
|
# Setup GC
|
||||||
export OPTIONS="$OPTIONS -J-XX:+UseG1GC"
|
# export OPTIONS="$OPTIONS -J-XX:+UseG1GC"
|
||||||
|
|
||||||
# Setup GC
|
# Setup GC
|
||||||
# export OPTIONS="$OPTIONS -J-XX:+UseZGC"
|
# export OPTIONS="$OPTIONS -J-XX:+UseZGC"
|
||||||
|
|
|
@ -1,8 +1,4 @@
|
||||||
{:deps {:aliases [:dev]}
|
{:deps {:aliases [:dev]}
|
||||||
;; :http {:port 3448}
|
|
||||||
;; :nrepl {:port 3447}
|
|
||||||
:jvm-opts ["-Xmx700m" "-Xms100m" "-XX:+UseSerialGC" "-XX:-OmitStackTraceInFastThrow"]
|
|
||||||
|
|
||||||
:builds
|
:builds
|
||||||
{:test
|
{:test
|
||||||
{:target :node-test
|
{:target :node-test
|
||||||
|
|
|
@ -1,9 +1,15 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
export PATH=/usr/lib/jvm/openjdk/bin:/usr/local/nodejs/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
|
export PATH=/usr/lib/jvm/openjdk/bin:/usr/local/nodejs/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
|
||||||
|
export JAVA_OPTS="-Xmx900m -Xms50m"
|
||||||
|
|
||||||
alias l='ls --color -GFlh'
|
alias l='ls --color -GFlh'
|
||||||
alias rm='rm -r'
|
alias rm='rm -r'
|
||||||
alias ls='ls --color -F'
|
alias ls='ls --color -F'
|
||||||
alias lsd='ls -d *(/)'
|
alias lsd='ls -d *(/)'
|
||||||
alias lsf='ls -h *(.)'
|
alias lsf='ls -h *(.)'
|
||||||
|
|
||||||
|
# include .bashrc if it exists
|
||||||
|
if [ -f "$HOME/.bashrc.local" ]; then
|
||||||
|
. "$HOME/.bashrc.local"
|
||||||
|
fi
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
{:deps {:aliases [:dev]}
|
{:deps {:aliases [:dev]}
|
||||||
:source-paths ["src" "vendor" "../common"]
|
:source-paths ["src" "vendor" "../common"]
|
||||||
:jvm-opts ["-Xmx512m" "-Xms50m" "-XX:+UseSerialGC"]
|
|
||||||
|
|
||||||
:builds
|
:builds
|
||||||
{:main
|
{:main
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
{:deps {:aliases [:dev]}
|
{:deps {:aliases [:dev]}
|
||||||
:http {:port 3448}
|
:http {:port 3448}
|
||||||
:nrepl {:port 3447 :host "0.0.0.0"}
|
:nrepl {:port 3447 :host "0.0.0.0"}
|
||||||
:jvm-opts ["-Xmx700m" "-Xms100m" "-XX:+UseSerialGC" "-XX:-OmitStackTraceInFastThrow"]
|
|
||||||
:dev-http {8888 "classpath:public"}
|
:dev-http {8888 "classpath:public"}
|
||||||
|
|
||||||
:builds
|
:builds
|
||||||
|
|
Loading…
Add table
Reference in a new issue