Server Crashes After 1-2 Hours (1.14.4)

My Paper server crashes after 1-2 Hours
I tried all of the crash log says but I still have the same problem.

I’m using the 1.14.4 version
Crash Log:

Can someone help me? I need to open my server.

Have you tried to actually read the crash log?

# There is insufficient memory for the Java Runtime Environment to continue.

You need to allocate more RAM or remove some plugins. A memory leak in a poorly made plugin can also cause this

How do I know which plugin is causing a Memory leak?
Do I need to check one by one?

Not a memory leak, you’re allocating 3.4G on a machine with only 4G of ram, 3.4G + javas overheads = not enough memory for everything to run; Java is crashing as your OS denied java from getting some ram as it was out. As it notes: Reduce Xmx

What is the ideal Xmx value for my server?

Probably somewhere like 2048-2560M

I tried with 2500M and it crashed again.

Crash Log:

MemTotal:        3792952 kB
MemFree:          102640 kB
MemAvailable:          0 kB

I’m sure I set it to 2500M

And I figure at something that my Linux server free memory slowly decreases to 100m than crashes the server.