This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-04-15
Channels
- # announcements (3)
- # architecture (1)
- # babashka (52)
- # beginners (228)
- # calva (1)
- # chlorine-clover (31)
- # cider (9)
- # clj-kondo (16)
- # cljs-dev (25)
- # cljsrn (21)
- # clojure (116)
- # clojure-argentina (8)
- # clojure-europe (18)
- # clojure-france (17)
- # clojure-germany (1)
- # clojure-nl (5)
- # clojure-spec (49)
- # clojure-uk (63)
- # clojurescript (59)
- # community-development (14)
- # conjure (89)
- # core-matrix (1)
- # cursive (18)
- # data-science (1)
- # datomic (27)
- # exercism (4)
- # figwheel-main (5)
- # fulcro (38)
- # ghostwheel (8)
- # graalvm (5)
- # hoplon (2)
- # jobs-discuss (17)
- # juxt (1)
- # lambdaisland (5)
- # luminus (1)
- # lumo (9)
- # malli (7)
- # off-topic (32)
- # planck (24)
- # re-frame (14)
- # reagent (14)
- # reitit (14)
- # rum (23)
- # shadow-cljs (80)
- # spacemacs (2)
- # sql (6)
- # unrepl (1)
- # xtdb (2)
@lukaszkorecki that also works. Memory: What I saw on my machine is that memory goes up to 256mb but not higher. It could just be a GC thing? Like I said, if I put a GC at the end, memory seems to be consistent around 11mb. But just hooking it up to a cron job works.
@lukaszkorecki Wow, look at this:
./bb -Xmx128m -XX:+PrintGC -XX:+PrintGCTimeStamps -XX:+VerboseGC -e '(load-file "/Users/borkdude/Downloads/statsd.clj")' -e "(require '[statsd-client :as c]) (while true (c/increment :foo) (Thread/sleep 1))"
[Heap policy parameters:
YoungGenerationSize: 13421770
MaximumHeapSize: 134217728
MinimumHeapSize: 26843540
AlignedChunkSize: 1048576
LargeArrayThreshold: 131072]
It seems to respect all of those command line flags. When I use -Xmx64m
the memory usage seems to be consistent around 15mb.@lukaszkorecki Released as bb 0.0.85