SPONSORS:






User Tag List

Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    deo
    deo is offline
    Member
    Join Date
    Feb 2001
    Location
    SLC
    Posts
    30
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Silk & Java app kills memory

    ANybody had this problem with Java apps. I'm running into it with one of our Java apps, but no others. Trying to convince dev. that the problem is in the app. If testing the app manually no problems with mem, only with silk and I feel it's silk bringing it to our attention quicker. Any info would be greatly appriciated. I'm running 5.3 with the patch.

    Regards
    deo

  2. #2
    Senior Member
    Join Date
    Jul 1999
    Location
    Bellingham, WA USA
    Posts
    1,323
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Silk & Java app kills memory

    Well, given that the memory issue appears only with the one app, it seems a no-brainer... the problem is with that app. Do some documentation on it and come to the next meeting with development with the irrefutable evidence in hand.

  3. #3
    Senior Member
    Join Date
    Sep 2000
    Posts
    159
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Silk & Java app kills memory

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by deo:
    ANybody had this problem with Java apps. I'm running into it with one of our Java apps, but no others.

    Regards
    deo
    <HR></BLOCKQUOTE>

    You say "other apps" run OK. Are they Java Apps?
    If the other Java Apps run OK, it's probably
    an Application Bug.

    If they are non-java apps, I would not discount the possibility of a Java specific Silk bug !


  4. #4
    Senior Member
    Join Date
    Jan 2001
    Posts
    750
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Silk & Java app kills memory

    You said manually you are able to work your app fine, does that mean, doing the same test as you did with silk manually. If the answer is yes then you got your answer where the problem is otherwise you should talk to your devs.

    1)You can narrow down your problem by telling us what is your doing that eats the memory out.

    2)Do you have recursive functions in your code.

    3)Is this a single local/remote host testing

    4)Any external calls(Dll, sys calls, java)


    Hope this make sense.

  5. #5
    Member
    Join Date
    Mar 2001
    Location
    chicago, il, usa
    Posts
    30
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Silk & Java app kills memory

    is the java app run in a browser or using swing/awt ?

  6. #6
    deo
    deo is offline
    Member
    Join Date
    Feb 2001
    Location
    SLC
    Posts
    30
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Silk & Java app kills memory

    Here's more info. No the app is not run in a browser.

    We are having a problem with a
    memory leak that appears to be caused by Silk.We are having a problem
    with Silk running under Java 1.2.2.We include the
    SilkTest_Java2.jar.When we run our application 'Silk - free' we don't
    seem to get any "out of memory" errors.When we run our application
    with the Silk jar included using your test workbench, we get "out of
    memory" errors fairly rapidly.We have examined what is happening with
    a java profiler, and have found Silk to be holding memory. For
    example, several Strings not being freed had the following
    connection: Memory held by static variable of class
    segue.io.EkPro Memory held by static variable of class
    segue.implant.QapAWTEventListenerThe things that seem to be increasing
    in memory and not freed seem to be:Object arrays (Object[])char arrays
    (char[])int arrays (int[])StringsOur application is a bit unusual in
    that rather than a frame-window based application it works more like a
    wizard, with additional dialogs accessible from the wizard screens, so
    it moves back and forth between different windows quite a bit. Also,
    the windows are quite input data (or component) dense because of the
    amount of data we are trying to collect. Is this type of applicaiton
    a problem with Silk?Any help you could in
    preventing/solving these memory leaks would be of great help. One other thing I should mention is that even without using silk we still see a small memory leak. Is it possible for silk to overreact to this?

    Regards
    deo


  7. #7
    Junior Member
    Join Date
    Mar 2001
    Location
    chicago,il,usa
    Posts
    6
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Silk & Java app kills memory

    I got a similar looking memory leak on my web app. I have tried various combinations and strongly feel its an app problem. Does anybody have an idea how this could be resolved. My upper management is very much interested in the answer. Thanks in advance.
    -Anna01

  8. #8
    Junior Member
    Join Date
    Jan 2001
    Location
    Rochester, NY, USA
    Posts
    16
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Silk & Java app kills memory

    We had a similar problem with our Java app. What we found is that Silk would continue to run slower and slower until it eventually gave us an ***Error: Control is not responding. We attributed this to a possible memory leak. We did capture some data that showed that the memory was gradually being eaten up, but could not pinpoint it to either our app or silk. As a short term workaround, we found that we could run longer if we ran Silk remotely thru an agent (ie run silk and .t file from a remote machine with just the agent and the app on another pc. Also, if we shut down our application, say every ten testcases or so, sleep for 10 seconds (allows the jre to finish and end) and then relaunch our app and continue testing. Like I said, short term workaround.

    Hope this helps

    dman

  9. #9
    Junior Member
    Join Date
    Mar 2001
    Location
    chicago,il,usa
    Posts
    6
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Silk & Java app kills memory

    I would also like to add that -
    this memory leak occurs immediately after I run the first test case.., but randomly when done manually. My testcase is very straight forward...no loops.
    I feel that SILK seems to bring up this issue faster.

  10. #10
    Junior Member
    Join Date
    Nov 1999
    Location
    VIENNA, AUSTRIA, EUROPE
    Posts
    16
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Silk & Java app kills memory

    I have the same probleme with our java-application. (with JVM JRE 1.3.0_01)
    I post this probleme to SEGUE SUPPORT on 13.March 2001.
    I wait of a solution from SEGUE ....

    best regards
    ANDALL


    ------------------

 

 
Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 08:59 AM.

Copyright BetaSoft Inc.