Question d’entretien chez EPAM Systems

What steps would be taken to resolve java.lang.OutOfMemoryError: Metaspace error?