[ptt-users] Long running crashing script; memory debugging help?

Seth Friedman sfriedman at videoegg.com
Mon Jul 9 10:09:37 PDT 2007


Greetings TestMaker folks,
 
I've got a script that I intend to run for days.   Problem is, I can't seem to get more than a few hours out of it before I see a crash.    I strongly suspect out of memory issues - in particular some sort of quasi-memory leak, but in the land of garbage collected languages I'm not sure where to dive into the debugging project.    The script has already reached steady state - e.g. it shouldn't be consuming any more memory over time, so I expect if I simply gave it more RAM i'd just see the same thing after 2x/3x the time.   This is an xstest load test, concurrency 5.   The test lasts longer if I run it in isolation, e.g. not xstest, no concurrency.
 
Are there any jython debugging tools that i can bring to bear on this problem?   I assume a java debugger will be less than useful working on jython code - that may or may not be the case.
 
I'm passing these custom params to the java cmdline:
"-Xss512k" "-Xmx786m" "-Xms512m" "-Xloggc:normal.gc" 
 
I see some posts on the list that suggest additional jvm parameter tweakage, though I don't want to jump into that without some better idea of what to look for better than "crashes less".   :)
 
Here's what makes me think OOM issue - the normal.gc file has this suspicious-looking last couple of lines:
12253.361: [GC 468969K->442242K(520512K), 0.0147440 secs]

12254.335: [GC 474398K->444539K(520512K), 0.0136325 secs]

12254.659: [GC 467912K->452165K(520512K), 0.0144070 secs]

12254.746: [GC 479367K->478015K(520512K), 0.0238662 secs]

12256.050: [GC 510527K->498399K(539296K), 0.0281709 secs]

12256.078: [Full GC

 

(that's not a copy/paste error; the rest of the line that starts "Full GC" is blank).

 

 

>From the console window I get this: 
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d6fe620, pid=6976, tid=5296
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_10-b03 mixed mode)
# Problematic frame:
# V  [jvm.dll+0xce620]
#
# An error report file with more information is saved as hs_err_pid6976.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp

 

Thanks in advance!

 

seth

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cake.pushtotest.com/pipermail/users/attachments/20070709/e1c7509d/attachment.htm


More information about the Users mailing list