Page 1 of 1
Potential Memory Leak from Script?

Posted:
Tue Dec 19, 2006 4:32 am
by Rhaegict
I know that when I was playing my kingdoms for about an hour straight a couple weeks ago, my computer would get really slow and Task Manager showed my web browser consuming close to a gig of memory. I never really pinned it down to a source, but then I saw in the thread about known bugs that the game is using some java script, so I'm curious if that java script might be causing some kind of leak? It has only happened when playing the game and hasn't happened since.
Just thought I'd make you aware of it so you could look into it.

Posted:
Tue Dec 19, 2006 7:43 am
by Torkano
I think it had too much coffee that morning. It was drunk and needed sobering up. Now I know, coffee doesn't sober you up, but it is funny that when they get too drunk they take a leak all over someone's computer. It has since been put on restrictions.

Posted:
Tue Dec 19, 2006 9:35 am
by owly
Ain't that the truth, i hate after when you have to wipe off the monitor....
Edit *Wipes*

Posted:
Tue Dec 19, 2006 1:44 pm
by Knight of Barnabas
you edited that? lol, go back to school!

Posted:
Wed Dec 20, 2006 10:18 am
by owly
School woundn't have me back


Posted:
Wed Dec 20, 2006 6:08 pm
by Kaz
My skills in Javascript are only adequate. I would not be able to honestly diagnose a javascript memory leak.
however,
I did install a firefox plugin that alerts me if anything from the javascript has been left active. It didn't alert me to the script.
But then, the javascript is on a frame that doesnt get reloaded anyway, it's seperate to the content window.
You can always turn the Javascript off

Posted:
Wed Dec 27, 2006 7:58 pm
by Pretender
I thought the big improvement in java over c was that java handled all the memory management automatically...meaning no leaks and no calls/writes to out of bounds stuff ;o
Not positive, but I really really doubt it is a javascript memory leak. However, any chance you are running IE7? I haven't really looked into it...but I would bet money on IE7 having a leak or two. Leaving it open for a few hours just about kills my computer.

Posted:
Wed Dec 27, 2006 8:03 pm
by Beetlejuice1
I don't know about memory leaks, but when I went to put up some protection spells a week or two ago I saw a nice little MySQL message when I tried casting them. Pretty much told me about some tables you were joining, haha.