I think cider folks are heavy users of MrAnderson
yes, that's where i first saw it mentioned. was curious about whether there were other options 🙂
interestingly, xsc wrote something that uses mranderson: https://github.com/xsc/lein-isolate
it seemed possible that mranderson uses rewrite-clj...and its project.clj suggests it does.
rewrite-cljc progress update: GraalVM experiments continue, trying out github actions and will also give http://drone.io cloud a whirl.
@lee Have you tried a native app with only clojure.test and barely nothing else? To check how much memory that consumes
so apart from rewrite-cljc
I have a hello world with a couple of tests where I learned how GraalVM works. Don't have numbers on that, but can look. Do have some numbers on natively compiling and running each rewrite-cljc namespace individually. All work under 3gb restriction except for one.
My goal is to test that rewrite-cljc compiles natively with GraalVM, do you think it important that this test be carried out across mac/windows/linux or would linux only give enough confidence?
(I ask this because http://drone.io is linux only, and it looks like it has maybe has a generous amount of RAM https://blog.drone.io/drone-cloud/)
If the goal is only testing, I think any reproducible environment would suffice
But having more than one OS seems desirable. I did have some problems that manifested only on Mac or Linux, not that many though
Thanks, I'll give http://drone.io a try and let you know how it goes. GitHub Actions also looks interesting for their 7gb RAM (I think) and multi-platform support. If I can get each test namespace to compile and run under GH Actions available RAM, it could work.
cute graphics for http://drone.io
Portal inspired!
he he -- totally didn't get the reference, so had to do some image searches 🙂
It would still be good to find out where this huge need for RAM comes from
well, rewrite-clj (and rewrite-cljc) have a pretty comprehensive test suite, I thought it might be just the size of that. Not having a vast amount of experience with native-image
, I was not terribly surprised at blowing 3gb as the default -Xmx
setting is for native-image
is 14g
.
measuring is better than guessing 🙂
true. I continue to poke and prod and measure.
clojure.test isn't that big itself but maybe it brings in some weird stuff
I'll do some more tests against my graal hello world today.
it is a fun puzzle video game, if you are into that kind of thing. :simple_smile:
tnx, i am, but in recent years i have been avoiding such things :)
I think it was @borkdude who said Clojure is more fun than video games?
I might have, but if I didn't, I still agree
ha ha ha - i had started avoiding before getting into clojure, but may be i've been able to continue because of clojure :)