Lucee Error (java.lang.OutOfMemoryError)

We suddenly started getting this error on one file, on one application on our server and all the following server.cfm and web.cfm

Lucee Error (java.lang.OutOfMemoryError)
Message Metaspace
Java Stacktrace lucee.runtime.exp.NativeException: Metaspace
Caused by: java.lang.OutOfMemoryError: Metaspace

Errors on the following

But does not error on

Any ideas, we have tried rolling back code and have similar code on another app that works.

It was MetaSpace. Viviotech doubled it from 1GB to 2GB for us. Its works fine now.