2013-01-17 2 views
1

jprofiler를 사용하여 JBOSS 6 EAP에서 실행되는 우리의 응용 프로그램에 대한 프로파일 링을 시도하고 있습니다. 그러나 standalone_jprofiler.bat를 실행할 때하는 오류,jprofiler를 사용하여 JBOSS 6 EAP 프로파일 링을 수행하는 방법은 무엇입니까?

 

    JProfiler> Protocol version 36 
    JProfiler> Using JVMTI 
    JProfiler> JVMTI version 1.1 detected. 
    JProfiler> 32-bit library 
    JProfiler> Listening on port: 8849. 
    JProfiler> Instrumenting native methods. 
    Error occurred during initialization of VM 
    Could not reserve enough space for object heap 
    JProfiler> Can retransform classes. 
    JProfiler> Can retransform any class. 
    JProfiler> Native library initialized 
    Could not create the Java virtual machine. 

우리는

 

    set "JAVA_OPTS=-Xms1303M -Xmx1303M -XX:MaxPermSize=256M" 

아래 문이 박쥐 파일에 JProfiler와에 의해 추가 될 때 standalone.conf.bat 파일에 메모리를 높이기 위해 노력했다 준다,

 

    set JAVA_OPTS=-agentpath:E:\ProgramFiles\jprofiler7\bin\windows\jprofilerti.dll=port=8849 -Djboss.platform.mbeanserver -Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl %JAVA_OPTS% 

jprofiler7이 JBOSS 6 EAP를 지원하는지 확실하지 않습니다.

답변

1
Could not create the Java virtual machine. 

은 힙 크기가 너무 큼을 나타냅니다. 당신은 에이전트 라이브러리를로드 할 경우, 32 비트 공간은

Understanding max JVM heap size - 32bit vs 64bit

는 1G 이하로 힙 크기를 낮추는 시도를 참조 조각입니다.

관련 문제