Insufficient memory for Java Runtime Environment

Hi, we were running into bugs trying to export a document in Open Document Format, and logs are showing:

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

/proc/meminfo:
MemTotal: 7853028 kB
MemFree: 535112 kB
MemAvailable: 4609232 kB
Buffers: 111312 kB
Cached: 2802700 kB
SwapCached: 19584 kB
Active: 3208764 kB
Inactive: 2106528 kB
Active(anon): 1787372 kB
Inactive(anon): 621852 kB
Active(file): 1421392 kB
Inactive(file): 1484676 kB
Unevictable: 0 kB
Mlocked: 0 kB
SwapTotal: 4194300 kB
SwapFree: 4081668 kB
Dirty: 1416 kB
Writeback: 0 kB
AnonPages: 2394856 kB
Mapped: 138488 kB
Shmem: 7928 kB
Slab: 1389568 kB
SReclaimable: 1265636 kB
SUnreclaim: 123932 kB
KernelStack: 7152 kB
PageTables: 39344 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 8120812 kB
Committed_AS: 6482876 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 0 kB
VmallocChunk: 0 kB
HardwareCorrupted: 0 kB
AnonHugePages: 0 kB
ShmemHugePages: 0 kB
ShmemPmdMapped: 0 kB
CmaTotal: 0 kB
CmaFree: 0 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
DirectMap4k: 7725424 kB
DirectMap2M: 632832 kB

We run PressBooks on a dedicated server with a Commercial hosting provider, and the server itself hosts several applications. Anyone seen this problem or have advice for how to deal with it/ allocate more memory for PressBooks on a server that is running multiple different applications?

Thanks in advance for any advice!
Lauren