Hi,

This seems to be a common complaint that the upgrade from 20.02 to 22.04 
causes the OOM killer to become more active. The consensus is that 22.04 
uses more memory. So you have three options. Reduce the memory usage on the 
box by running less, add more memory or increase your swap partition size. 
Increasing the swap partition size seems the easiest, see link for 
details 
https://www.digitalocean.com/community/tutorials/how-to-add-swap-space-on-ubuntu-22-04.

I would not recommend tuning the OOM killer, it looks complicated and there 
is nothing worse than finding your linux box has run out of memory and 
become totally unresponsive.

Regards, Francis.
On Wednesday, February 5, 2025 at 12:36:35 PM UTC-6 goenzoy wrote:

> Hello to everyone, 
>
> Myself I m using Clojure on my Ubuntu box without any problems for a long 
> time 
> But after upgrade to Ubuntu 22.04 I do run into problems with DB 
> connection to local Neo4j . (https://github.com/gorillalabs/neo4j-clj) 
> It worked fine on 20.04 but now I m getting constant memory errors 
> And if I modify my JVM setup with export _JAVA_OPTIONS=-Xmx4096m as 
> example it only kicks out my terminal session via systemd 
> systemd-oomd[1244]: Killed 
> /user.slice/user-1000.slice/us...@1000.service/app.slice/app-org.gnome.Terminal.slice/vte->
>  
>
> Does anyone how much memory is needed (or)and do proper tests on Java 
> level because I cannot believe that 32GiG should not be enough even if most 
> of my tests I have done on a 8GiG machine 
>
> Best regards 
>
> Gottfried 
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/clojure/ab3549ca-2031-468e-9895-55efc22498f7n%40googlegroups.com.

Reply via email to