clojure-uk

A place for people in the UK, near the UK, visiting the UK, planning to visit the UK or just vaguely interested to randomly chat about things (often vi and emacs, occasionally clojure). More general the #ldnclj
dharrigan 2020-08-21T06:22:40.033600Z

Good Morning!

dominicm 2020-08-21T06:43:22.033800Z

Morning

djm 2020-08-21T06:52:25.034Z

👋

Jakob Durstberger 2020-08-21T07:26:16.034200Z

Happy Friday 🙂

🎉 1
alexlynham 2020-08-21T08:03:43.034300Z

morning

mccraigmccraig 2020-08-21T10:00:10.034700Z

¡måning!

2020-08-21T10:03:59.034900Z

Morn' 😃

2020-08-21T10:36:43.035100Z

does anyone know of a jdk setting that can make finalization more aggressve; I'm stuck with an IBM library that relies upon finalize , its haemorrhaging memory because it seems the finalizer cannot keep up

2020-08-21T11:23:35.036600Z

Sounds painful… There’s nothing I know of; as far as I recall you can’t rely on when finalizers are called… I’m guessing they’re determined by the GC algorithm/strategy though; so perhaps switching the garbage collector would help? clutches straws

2020-08-21T11:24:16.037100Z

My memory is pretty hazy though; I usually end up having to immerse myself in jvm docs whenever I need to tweak this stuff.

dominicm 2020-08-21T11:43:08.037400Z

I think you're right.

dominicm 2020-08-21T11:43:31.038100Z

Any chance you have leftover references? Very easy in clojure with anonymous functions

2020-08-21T11:43:52.038400Z

this is actually in ahem Kotlin

2020-08-21T11:44:43.039500Z

I've got tothe point of just tweaking bits to see what kind of effect it has on memory usage

dominicm 2020-08-21T11:44:56.040Z

Gtfo

2020-08-21T11:44:59.040200Z

none of this is on-heap; the heap looks fine

2020-08-21T11:45:26.040900Z

and non-heap standard stuff looks fine; its all under-the-radar native allocatino that's got a problem

dominicm 2020-08-21T11:45:55.041700Z

I've seen interesting stuff off heap before. I think I saw it at a terabyte once with datomic.

2020-08-21T11:46:16.042Z

what was the underlying cause?

dominicm 2020-08-21T11:46:54.042800Z

Big datomic database. It was for a mobile phone provider, but not the one we did together, the one before that.

dominicm 2020-08-21T11:47:13.043200Z

We were putting click data into datomic.