PDA

View Full Version : Memory Leak?



BankZ
November 24th, 2005, 01:51 PM
It seems like if I use anything greater than beta 8, Girder memory usage just keeps growing until the system is unusable. Is this a known issue? Any suggestions?

Ron
November 24th, 2005, 02:36 PM
What do you typically do with Girder when it's memory is growing?

BankZ
November 24th, 2005, 05:19 PM
I have to 'end task' it. This happens with minutes of starting Girder. It works fine on one PC but not my HTPC.

Rob H
November 25th, 2005, 01:31 AM
I think Ron was more interested in finding out what plugins you have enabled, and what Girder is supposed to be doing for you, since this doesn't seem to happen for most people.

Perhaps if you can try it without loading your normal GML, then see if it still consumes memory - if it does then that would point to a plugin.

BankZ
November 25th, 2005, 04:09 AM
Well, I don't get too far. I am using USBUIRT to control BTV.

When I install a version greater than B8 (I've tried B10p3, b14 and b15) and start it (default config) it starts taking a lot of CPU and memory usage grows quickly. The only thing I do is install it, start it and close the weather ODS's.

One thing that I did notice is that there are two girder process in the task manger.

Also there isn't a lot installed on my HTPC. Is there anything that's required?

Promixis
November 25th, 2005, 04:30 AM
What OS?

And how are you watching memory? Task manager? Over how long a period of time.

BankZ
November 25th, 2005, 04:31 AM
yes, task manager and it takes about 5 minutes before I have to kill the process.

Promixis
November 25th, 2005, 05:39 AM
ok,

please empty the plugin dir and then restart girder.

see if it happens, then add them back in one at a time to see which one is causing problems on your system.

what windows version??

BankZ
November 25th, 2005, 06:36 AM
I am using WinXP Pro SP2

I fiound the DLL that was causing me the problems. Its "ComSvr.dll".

Mastiff
November 25th, 2005, 08:07 AM
That's the comserver, communications server, that goes Girder to Girder and Girder to Netremote. There's no inherent leak in that, so there has to be something special on your system. The two Girder processes are normal btw, it's just the registration system.

1. You did remove the GML, so it isn't some code in there that does it?

2. Do you have firewall software, or even Windows firewall on that HTPC? Beating against a wall can give Girder, and anybody else, a headache! :wink:

3. Can you download TCPView (google it) and see if Girder's having frantic activity on some ports? Normally 20005 is for comserver, and then there's the weather (probably 80, HTTP) and a DNS lookup, which should use port 8910.

BankZ
November 25th, 2005, 08:16 AM
That's the comserver, communications server, that goes Girder to Girder and Girder to Netremote. There's no inherent leak in that, so there has to be something special on your system. The two Girder processes are normal btw, it's just the registration system.

1. You did remove the GML, so it isn't some code in there that does it?

2. Do you have firewall software, or even Windows firewall on that HTPC? Beating against a wall can give Girder, and anybody else, a headache! :wink:

3. Can you download TCPView (google it) and see if Girder's having frantic activity on some ports? Normally 20005 is for comserver, and then there's the weather and a DNS lookup. I think the last port is 8910, but I'm not totally sure.

1. No, I didn't do anyting. Just installed and ran Girder (b8 runs great).
2. I had the windows firewall enabled, but I just tried it with it disabled and the same thing happens.
3. I will do this and post my results.

Mastiff
November 25th, 2005, 08:17 AM
What I meant in 1 was that you should try to start Girder without a GML open, so we can see if there is a rogue script making trouble here.

BankZ
November 26th, 2005, 03:53 AM
I tried it with no GML flie and it the same thing.

I ran TCPView and I see girder listening on port 20005 and I see a UDP connection on 8910. Thats all I see, nothing interesting.

Promixis
November 26th, 2005, 04:06 AM
I tried it with no GML flie and it the same thing.

I ran TCPView and I see girder listening on port 20005 and I see a UDP connection on 8910. Thats all I see, nothing interesting.

so without the comserver, no leak, with it in its leaking?

BankZ
November 26th, 2005, 04:09 AM
yes and it only happens with later than B8. It also takes up a lot of CPU (~70-100).

Rob H
November 26th, 2005, 04:11 AM
what else do you have running on your HTPC?

BankZ
November 26th, 2005, 04:16 AM
BTV, TrueImage, Diskeeper, XVid codec, AC3Filter, Latest Windows Updates and Drivers. I havent even installed AV yet because I wanted to make sure that wasnt the problem.

Ron
November 26th, 2005, 06:33 AM
I am working on the comserver. Do you mind testing some stuff as soon as I have stuff to test?

BankZ
November 26th, 2005, 07:31 AM
sure thing, just let me know