Mani
Mani

Reputation: 145

Getting Error while opening jfr file in JMC console

I'm getting too large recording error while trying to open my 60 MB jfr file in JMC console. Please help me on this.

Thank you

Upvotes: 2

Views: 2965

Answers (2)

Stephen C
Stephen C

Reputation: 718886

I came across this page which provides a simple tool for splitting overly large JFR files into smaller chunks. The author works (or worked) at Oracle.

(But I can't find the source code, the JAR is not signed, and the download link is not even HTTPS protected. Be careful what you download ... and all that.)

Upvotes: 1

Georg Leber
Georg Leber

Reputation: 3580

Have you tried to run JMC with more memory?

jmc -vmargs -Xms1024m -Xmx2048m

The other solution is to split the jfr file into smaller chunks and open that chunks.

Upvotes: 3

Related Questions