Game Development Community

Virtual Memory

by Scott Doerrfeld · in Torque Game Engine · 10/23/2007 (10:35 am) · 4 replies

I've left my TGE server running for a while now and have logged in and out several times. I noticed that it is currently using 12 gigs of virtual memory! Isn't that kinda high? What could be going in here?

#1
10/23/2007 (10:36 am)
BTW this is a dedicated server.
#2
10/30/2007 (1:45 pm)
One thing I noticed is that whenever a client logs out the amount of virtual memory tends to go up. Doesn't the client object get deleted upon a disconnect? Can someone please offer me any ideas?
#3
10/30/2007 (6:23 pm)
Heh, I wouldn't know where to begin to troubleshoot this, but you might need to provide some other information. Such as if this machine is a dedicated server box (ie, nothing else running on it). What OS, how much physical ram, and heck even snippets of your network connection and release code.

Also what version of TGE are you using, and do you have any addons (modernization kit, MMO kit, RTS kit, etc). Good luck with finding a solution!
#4
10/31/2007 (2:24 am)
I did discover why the virtual memory grew so high...had to do with a database resource I was using where a result set wasn't getting cleared. Still...dunno why memory goes up after a client logs out...looking into it...