#11 Could not refresh memory info: I/O error

open
nobody
None
5
2008-09-01
2008-09-01
gvasquez
No

Always I get this message when my application finishes, so the only way I could get a snapshot is be adding a "Thread.sleep(15000)" at the end of it.

Any ideas? Any additional data needed? Could be the JRE mixing (IBM 5 v/S SUN 6) triggering this issue? Is there any workaround to force an automatic snapshot just before my application exits?

Environment as follows:

OS: Windows Vista Ultima 64-bit running on AMD Athlon X2

Using Profiler4J version 1.-beta2 (build27)

GUI running with:
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
Java HotSpot(TM) 64-Bit Server VM (build 10.0-b23, mixed mode)

Profiled application running with:

java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build pwi32devifx-20080303 (SR
6b + IZ15865))
IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Windows Vista x86-32 j9vmwi3223ifx-2
0080303 (JIT enabled)
J9VM - 20080228_17641_lHdSMR
JIT - 20070820_1846ifx1_r8
GC - 200802_28)
JCL - 20071025

If any additional data is needed, please feel free to request it from me.

Discussion

  • gvasquez

    gvasquez - 2008-09-01

    Error Screenshot

     
  • gvasquez

    gvasquez - 2008-09-01

    Logged In: YES
    user_id=1897973
    Originator: YES

    When running with verbosity=2 I get the following additional info:

    URL = jar:file:/C:/profiler4j-1.0-beta2/console.jar!/net/sf/profiler4j/console/B
    ootstrap.class
    Decoded URL (charsetwindows-1252) = jar:file:/C:/profiler4j-1.0-beta2/console.ja
    r!/net/sf/profiler4j/console/Bootstrap.class
    Detected PROFILER4J_HOME is C:\profiler4j-1.0-beta2
    urls[0] = file:/C:/profiler4j-1.0-beta2/lib/asm-all-2.2.2.jar
    urls[1] = file:/C:/profiler4j-1.0-beta2/lib/javassist-3.1.jar
    urls[2] = file:/C:/profiler4j-1.0-beta2/lib/jcommon-1.0.0.jar
    urls[3] = file:/C:/profiler4j-1.0-beta2/lib/jdom.jar
    urls[4] = file:/C:/profiler4j-1.0-beta2/lib/jfreechart-1.0.1.jar
    urls[5] = file:/C:/profiler4j-1.0-beta2/lib/profiler4j-1.0-beta2.jar
    Supports thread contention monitoring? true
    Supports thread cpu time monitoring? true
    net.sf.profiler4j.console.ClientException: I/O Error
    at net.sf.profiler4j.console.Client.handleException(Client.java:288)
    at net.sf.profiler4j.console.Client.getMemoryInfo(Client.java:107)
    at net.sf.profiler4j.console.ConsoleApp$1.actionPerformed(ConsoleApp.jav
    a:58)
    at javax.swing.Timer.fireActionPerformed(Unknown Source)
    at javax.swing.Timer$DoPostEvent.run(Unknown Source)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    Caused by: java.net.SocketException: Connection reset by peer: socket write erro
    r
    at java.net.SocketOutputStream.socketWrite0(Native Method)
    at java.net.SocketOutputStream.socketWrite(Unknown Source)
    at java.net.SocketOutputStream.write(Unknown Source)
    at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
    at java.io.BufferedOutputStream.flush(Unknown Source)
    at java.io.ObjectOutputStream$BlockDataOutputStream.flush(Unknown Source
    )
    at java.io.ObjectOutputStream.flush(Unknown Source)
    at net.sf.profiler4j.console.Client.sendAndWaitAck(Client.java:268)
    at net.sf.profiler4j.console.Client.getMemoryInfo(Client.java:104)
    ... 11 more

     

Log in to post a comment.