SPONSORS:






User Tag List

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Mar 2000
    Location
    London, UK
    Posts
    1
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Java resource problems

    Is anyone aware of any memory usage problems using silk with java? e.g.
    does garbage collection still work within the java application?

    I ran a script to enter lots of data
    into a gui from a file. I noticed
    that the memory usage crept up from
    15 to 26 megs for 292 tickets, going
    up a little with each ticket.

    Not usual behaviour for a Java application, given that gc is
    supposed to be automatic.

    I'm thinking of using invokejava
    to enforce garbage collection, is
    this a good idea?

  2. #2
    Guest

    Re: Java resource problems

    You may be seeing a problem I've noticed in the Silk Agent. Using Perfmon to monitor memory usage while testing Netscape 4.06 under NT40, I noticed that each time the status bar at the bottom of the browser frame updated, the handle count attributed to Netscape increased. As soon as I closed the Agent, however, the handle count dropped back to the normal level. Manually navigating through netscape showed no problem, it only occurs (and always occurrs) when the agent is actively running a script.

  3. #3
    Junior Member
    Join Date
    Jul 1999
    Location
    Redwood Shores
    Posts
    13
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Java resource problems

    Generally you should not do any inforcing garbage collection, but there is a bug in JDK
    that has causes virtual memory to be used up by VM. So you could call System.gc. But there is another issue with Silk itself. When you run many scripts for 5-6 hours in the row Silk will used up RAM too (it leaks like a hell) I think that Segue knows about it and they just don't do anything about it.

 

 

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 02:00 PM.

Copyright BetaSoft Inc.