Potential Memory Leak from Script?

- Archive Forum for Old Games.
(Calam, Speed, Christmas, Debacle, etc.)

Potential Memory Leak from Script?

Postby Rhaegict » Tue Dec 19, 2006 4:32 am

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.
I'm a Dumb-Dumb.
Rhaegict
Pickpocket
 
Posts: 1488
Joined: Sun Aug 22, 2004 7:39 pm
Location: Lubbock, Texas

Postby Torkano » Tue Dec 19, 2006 7:43 am

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.
Sartorious lives on forever in my heart and memories!
<Thantos> so there's 5 we have to break tonite
<Sexxay-Dux> well whichuns are the biggewst
<Art_is_Sexy> can we break them with fucking?
User avatar
Torkano
Don't mess with da Elf
 
Posts: 8698
Joined: Wed Sep 25, 2002 5:00 pm
Location: The little guy on your shoulder

Postby owly » Tue Dec 19, 2006 9:35 am

Ain't that the truth, i hate after when you have to wipe off the monitor....

Edit *Wipes*
Lone NUT
Anything you say can and will be held against you in a court of Robo-Cop
If you think I don't make sense think about the evidence that Big Foot is my Papa and he got to protect ME!

DoC... Trench Town Rock... Soul Rebal...Kaya.....Thank you lord
User avatar
owly
Master Knight
 
Posts: 6022
Joined: Wed Sep 25, 2002 5:00 pm
Location: I'm In Your Frige Stealing Your Food!!!

Postby Knight of Barnabas » Tue Dec 19, 2006 1:44 pm

you edited that? lol, go back to school!
Colère et intolérance sont les ennemis d'une bonne compréhension. - Sainte Karwalyn
User avatar
Knight of Barnabas
Pickpocket
 
Posts: 1499
Joined: Thu Nov 24, 2005 1:49 am
Location: Moebus Tourist Information Office

Postby owly » Wed Dec 20, 2006 10:18 am

School woundn't have me back :P
Lone NUT
Anything you say can and will be held against you in a court of Robo-Cop
If you think I don't make sense think about the evidence that Big Foot is my Papa and he got to protect ME!

DoC... Trench Town Rock... Soul Rebal...Kaya.....Thank you lord
User avatar
owly
Master Knight
 
Posts: 6022
Joined: Wed Sep 25, 2002 5:00 pm
Location: I'm In Your Frige Stealing Your Food!!!

Postby Kaz » Wed Dec 20, 2006 6:08 pm

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
Programming is 10% science, 25% ingenuity and 65% getting the ingenuity to work with the science.
TEN, TMP, Peace, Fervent, LA, sLAinte
Table Warfare Miniatures
User avatar
Kaz
Retired Admin
 
Posts: 3874
Joined: Wed Sep 25, 2002 5:00 pm
Location: The Vinyards of Fernabergia

Postby Pretender » Wed Dec 27, 2006 7:58 pm

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.
Lasciate ogne speranza, voi ch'intrate
The Raven Collective
User avatar
Pretender
Stablehand
 
Posts: 165
Joined: Wed Sep 25, 2002 5:00 pm
Location: Fort Collins, CO

Postby Beetlejuice1 » Wed Dec 27, 2006 8:03 pm

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.
~*~Vengeance Shall Be Ours~*~
*~>Long Live the Wolfpack<~*
Beetlejuice1
Stablehand
 
Posts: 80
Joined: Wed Sep 25, 2002 5:00 pm


Return to Old Games Archive

Who is online

Users browsing this forum: No registered users