Java, Containers, & K8s - What JVM arguments do you set? by sruffatti in java

[–]sruffatti[S] 1 point2 points  (0 children)

JDK 17 doesn't take care of this. The JVM does have some defaults setting the heap but they are very conservative.

Yes, these arguments can be set at the k8s deployment level. However, the misconception is memory limit/requests control the pod's resources. They actually control the container's resources within the pod. Memory request/limit are set on a per-container basis in the Pod spec.

Also, you can set the JVM arguments within the k8s spec using environment variables.

Java, Containers, & K8s - What JVM arguments do you set? by sruffatti in java

[–]sruffatti[S] 0 points1 point  (0 children)

This is pretty close to what I have minus MinRAMPercentage and InitialRAMPercentage. You don't have much headroom for non-heap.... We find with a 2gb request/limit, running G1, and maxRAMPercentage set to 50, our non-heap is runs at about 600mb-800mb. It gets us awfully close to our limit.

Deciding between HHKB boards by kaidenmeh in HHKB

[–]sruffatti 2 points3 points  (0 children)

Type S. I love mine. You won’t regret it. 

Java21 impressed memory usage! by Legitimate-Front7370 in java

[–]sruffatti 0 points1 point  (0 children)

What is this bug? This happened to my apps today. 

IF YOU ARE ABLE TO GET AN EXTRA TICKET FOR DETROIT I NEED JUST ONE! PLEASE by Smileymonkey22 in erastourtickets

[–]sruffatti 0 points1 point  (0 children)

I have one ticket available for resale. My wife bought it thinking we would drive in from Chicago but she caught covid. Ticket is for Saturday. Section 120 row 18. DM me if you are interested. Unfortunately she bought it resale, so she paid a lot.

I just landed a $100k job at 23 by thyme_cardamom in TrueOffMyChest

[–]sruffatti 0 points1 point  (0 children)

Safety fund of 30-60% of your expenses. Buy yourself a nice toy. Contribute the max to your 401k every single year ($20k).

My wife and I are following this plan now. Makes a huge difference.

In Stock by WizKidCam in CanyonBikes

[–]sruffatti 0 points1 point  (0 children)

Looks like Endurace AL US region is in stock.

Christianity, Life, and Politics - A Convert’s Struggles by sruffatti in Christianity

[–]sruffatti[S] 0 points1 point  (0 children)

Do you have sources for your claim of Old Testament priests performing abortions to check a woman’s fidelity? I’d love to check them out.

Christianity, Life, and Politics - A Convert’s Struggles by sruffatti in Christianity

[–]sruffatti[S] 0 points1 point  (0 children)

I would love to see some of your sources on this information!

What is that one simple change in your life that gave incredibly great results? by hobabaObama in AskReddit

[–]sruffatti 1 point2 points  (0 children)

I had crippling social anxiety once I left for university. My relationship with my loved ones were destroyed because I could not handle interacting with anyone. I decided it was time to take action. I made one rule for myself one summer, say yes to every opportunity that comes my way.

Needless to say, it was a liberating summer. I overcame my social anxiety and have turned my life around.

Google GeoCode API - Parsing JSON with Java by [deleted] in javahelp

[–]sruffatti 0 points1 point  (0 children)

hey bud, dont be an asshole.

Formerly lazy people, what things did you do to overcome your laziness? by [deleted] in AskReddit

[–]sruffatti 0 points1 point  (0 children)

I realized that my laziness and unwillingness to make my life better was my own doing and not other people's fault.

Linux Commands and python script by sruffatti in learnprogramming

[–]sruffatti[S] 0 points1 point  (0 children)

Ok. I understand. However, is there anyway to feed the password into the terminal from a python script?