본문 바로가기
WEB,WAS/TOMCAT

Exception in thread "main" sun.jvm.hotspot.types.WrongTypeException: No suitable match for type of address

by Rainbound-IT 2023. 8. 2.
반응형

 

jhsdb jmap --heap --pid [pid]

vm 환경에서 다음명령어를 입력하니 아래와 같이 나왔다.

 

Exception in thread "main" sun.jvm.hotspot.types.WrongTypeException: No suitable match for type of address 0x00007fc30c025200
	at jdk.hotspot.agent/sun.jvm.hotspot.runtime.InstanceConstructor.newWrongTypeException(InstanceConstructor.java:62)
	at jdk.hotspot.agent/sun.jvm.hotspot.runtime.VirtualConstructor.instantiateWrapperFor(VirtualConstructor.java:80)
	at jdk.hotspot.agent/sun.jvm.hotspot.memory.Universe.heap(Universe.java:150)
	at jdk.hotspot.agent/sun.jvm.hotspot.tools.HeapSummary.run(HeapSummary.java:61)
	at jdk.hotspot.agent/sun.jvm.hotspot.tools.JMap.run(JMap.java:115)
	at jdk.hotspot.agent/sun.jvm.hotspot.tools.Tool.startInternal(Tool.java:260)
	at jdk.hotspot.agent/sun.jvm.hotspot.tools.Tool.start(Tool.java:223)
	at jdk.hotspot.agent/sun.jvm.hotspot.tools.Tool.execute(Tool.java:118)
	at jdk.hotspot.agent/sun.jvm.hotspot.tools.JMap.main(JMap.java:176)
	at jdk.hotspot.agent/sun.jvm.hotspot.SALauncher.runJMAP(SALauncher.java:369)
	at jdk.hotspot.agent/sun.jvm.hotspot.SALauncher.main(SALauncher.java:538)

에러가 발생한 이유는 vm에서 외부 메모리 주소 접근 제한이 있어서 그럴수 있다고 한다.

반응형

댓글