Client Performance after Multiple :lo

The worst monsters in the Hearthlands warp the fabric of space and time..

Client Performance after Multiple :lo

Postby kobnach » Mon Sep 21, 2009 12:21 am

I frequently leave my client running, doing :lo and then relogging, sometimes as a different character. When I do this often enough, the game will become unplayably sluggish after one more login - often with the same character as the previous one. I suspect a resource leak.

I mention the changes of character - different accounts too - in case the resource leak is there, rather than in the log out/relogin sequence. (I.e. clicking "forget me" might be the problem.)

Note by the way that "remember me" and "forget me" behave really strangely if one has multiple copies of the client open on the same comp., as I usually do. If two chars log out within about 5 min. of each other, both clients "remember" the same one.
kobnach
 
Posts: 671
Joined: Wed Jun 10, 2009 5:04 am

Re: Client Performance after Multiple :lo

Postby Jackard » Mon Sep 21, 2009 12:36 am

hmm thats interesting, i :lo several times so ill have to keep an eye on it
User avatar
Jackard
 
Posts: 8849
Joined: Sun Jul 12, 2009 6:07 am
Location: fucking curios how do they work

Re: Client Performance after Multiple :lo

Postby PhaedrothSP » Mon Sep 21, 2009 12:47 am

The same thing happens to me, but it gets extremely laggy after I do it twice, that is :lo and log back in.
Though I usually log back in through the same account and character.
User avatar
PhaedrothSP
 
Posts: 544
Joined: Sat Aug 01, 2009 6:07 am

Re: Client Performance after Multiple :lo

Postby Jackard » Mon Sep 21, 2009 12:54 am

kobnach wrote:Note by the way that "remember me" and "forget me" behave really strangely if one has multiple copies of the client open on the same comp., as I usually do. If two chars log out within about 5 min. of each other, both clients "remember" the same one.

it remembers whatever account you last logged in as. that seems natural enough to me
User avatar
Jackard
 
Posts: 8849
Joined: Sun Jul 12, 2009 6:07 am
Location: fucking curios how do they work

Re: Client Performance after Multiple :lo

Postby kobnach » Mon Sep 21, 2009 12:56 am

Jackard wrote:it remembers whatever account you last logged in as. that seems normal enough.


Except it doesn't. If I have multiple client windows, it should remember which account last logged in with that window. As far as I know, each runs a separate instance of the client, so why do they get their memory confused?
kobnach
 
Posts: 671
Joined: Wed Jun 10, 2009 5:04 am

Re: Client Performance after Multiple :lo

Postby Jackard » Mon Sep 21, 2009 1:05 am

Are you pressing the Play button? I don't use the default client anymore, so maybe something is up with that.
User avatar
Jackard
 
Posts: 8849
Joined: Sun Jul 12, 2009 6:07 am
Location: fucking curios how do they work

Re: Client Performance after Multiple :lo

Postby loftar » Mon Sep 21, 2009 1:36 am

kobnach wrote:Except it doesn't. If I have multiple client windows, it should remember which account last logged in with that window. As far as I know, each runs a separate instance of the client, so why do they get their memory confused?

That's probably because the client never stores that information in memory, but rather in Java's preference system. It could be argued that that should be changed, of course, but at least it's the reason why it behaves the way you observe.

The resource leak seems like a worse problem, though I haven't managed to trigger it myself, even though I often leave a client open for many consecutive sessions. If you don't want to wait for me to be able to trigger it, maybe you could try to get a heap dump of the client when it is in that condition and send it to me? Getting the dump is easy provided you have the JDK installed -- just run "jmap -dump:file=heap.dump PID" (where PID is the actual PID of the Java process), but sending it might be harder, since the generated file will be a couple of hundred MBs.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
loftar
 
Posts: 9045
Joined: Fri Apr 03, 2009 7:05 am

Re: Client Performance after Multiple :lo

Postby Laremere » Mon Sep 21, 2009 2:58 am

This is very easy to trigger, just log in and out many times. I've been getting this as I've been teleporting from my hearth in the middle of a forest to RoB to build my wooden things in Brodgar. It is a client slow down, as in a cabin the game runs fine, but as soon as you take a step out-side the fps slows way down.
Image
User avatar
Laremere
 
Posts: 736
Joined: Fri May 29, 2009 9:02 pm

Re: Client Performance after Multiple :lo

Postby kobnach » Mon Sep 21, 2009 7:11 am

loftar wrote:
The resource leak seems like a worse problem, though I haven't managed to trigger it myself, even though I often leave a client open for many consecutive sessions. If you don't want to wait for me to be able to trigger it, maybe you could try to get a heap dump of the client when it is in that condition and send it to me? Getting the dump is easy provided you have the JDK installed -- just run "jmap -dump:file=heap.dump PID" (where PID is the actual PID of the Java process), but sending it might be harder, since the generated file will be a couple of hundred MBs.


If I can get a dump, I'll do something like make it ftp'able from my site, and let you deal with the transmission problem. (It will be painful, I'm on DSL - assymetric consumer DSL.)

I may not be able to get it, however. I can't get your program to run on linux - where I have the JDK. I think the JDK is also available for various flavours of Winblows - but some experimentation will be required.
kobnach
 
Posts: 671
Joined: Wed Jun 10, 2009 5:04 am

Re: Client Performance after Multiple :lo

Postby kaka » Mon Sep 21, 2009 10:24 am

I can do that for you.
I'm having the same problem and, as you know, I can easily give you the dump.
User avatar
kaka
 
Posts: 673
Joined: Fri Apr 03, 2009 8:31 am
Location: Château de Gâteau

Next

Return to Bugs

Who is online

Users browsing this forum: No registered users and 2 guests