Memory Leak since I16?


Bierfuiz

 

Posted

Normally when I play COH if I look at the process in Task Manager it usually goes up to between 750 - 850 megs of memory usage. But since I16 it climbs and climbs going easily over 1GB and sometimes really cuase my PC to go nuts. I have 2 GB memory, so I dont have to do a lot of disk swapping - but it sometimes really causes slowdowns and even crashed me a few times as the memory usage gets higher and higher.

I'm just wondering if this is a known issue and has anyone been seeing this.


Proctector: Doc Heal lvl 50 Illusion / Empath
Sweet Fyre lvl 50 Fire / Rad
Axe Wielding Maniac lvl 50 Stone / Axe
Doc Heel lvl 39 Robots / Traps

 

Posted

Man, I hope not. It'll take me a long time to see it on a 9GB system, but it's definitely worth watching. When the servers come back up this morning I'll look at the memory usage on my system.


 

Posted

Quote:
Originally Posted by Mallard View Post
Man, I hope not. It'll take me a long time to see it on a 9GB system, but it's definitely worth watching. When the servers come back up this morning I'll look at the memory usage on my system.
It looks like it caps a little over 1GB - so if you have 9GB you won't even notice. But us poor slobs that only have 2GB, thats like half our memory.


Proctector: Doc Heal lvl 50 Illusion / Empath
Sweet Fyre lvl 50 Fire / Rad
Axe Wielding Maniac lvl 50 Stone / Axe
Doc Heel lvl 39 Robots / Traps

 

Posted

I'm seeing the same thing. My regular memory usage for CoH has gone from 650-800Mbs to 1-1.2Gbs.


"He may be arrogant, but he happens to be correct" - Ellis
"The server is full of crazies" - New_Dark_Age

Rainbow Arcana / Diamond D: Legion of Freedom - Virtue
lof.guildportal.com

 

Posted

I still run 2GB RAM. I'll take a look tonight but haven't noticed anything other than worse FPS in open zones. Oddly... at least in Port Oakes, it seems my FPS gets pummeled down to 30 whenever I look in the direction of the abandoned laboratory.

As with every patch to the game, make sure yall have defragged.

I don't know why the patcher frags the install directory like it does, but I've gotten into the habit of doing so after every patch regardless of whether anything is freaking out.


Be well, people of CoH.

 

Posted

I'm seeing it leak to around 1.4GB. I have 4GB of RAM so it's not horrible, but it's definitely annoying as the game start to become unstable very quickly from there.




We'll see....

 

Posted

i16 seems to have bumped coh memory usage from 0.8gb to 1.2gb for me.


 

Posted

I have also noticed this as well. Have to restart game every hour or so as it approaches the 1.2 mark.

I could just stop surfing the web and listening to music...but what fun would that be? :P


 

Posted

Quote:
Originally Posted by Mallard View Post
Man, I hope not. It'll take me a long time to see it on a 9GB system, but it's definitely worth watching. When the servers come back up this morning I'll look at the memory usage on my system.
As a 32-bit application, it would crash when it hit 2GB of memory usage anyway. lol

Personally.. I have noticed he game has certainly increased in memory usage each issue. When I started playing 3+ years ago, it would boot at about 500MB and then never go over 1GB. Slowly it has increased to booting around 900MB and get's close to 1.5GB after several hours of play. i16 gave it a little bump, but it wasn't from 800mb to 1.2GB.. maybe only an extra 50-100mb from my perspective.

The Required/Recommended System Specifications should have been increased a long time ago.

BillZBubba:
Quote:
I'll take a look tonight but haven't noticed anything other than worse FPS in open zones. Oddly... at least in Port Oakes, it seems my FPS gets pummeled down to 30 whenever I look in the direction of the abandoned laboratory.
Same here. Also, looking over Mercy drops my FPS as well.


 

Posted

Quote:
Originally Posted by Zombie Man View Post
Just FYI, the following command will flush unused memory while in game and helps versus leaks:

/unloadgfx

Use it occasionally to drop the RAM usage.
This command helps a bunch during long play sessions, so much so that I made a macro for it. This command however is just a band aid for the problem if it is indeed a memory leak.


 

Posted

Quote:
Originally Posted by Master-Blade View Post
As a 32-bit application, it would crash when it hit 2GB of memory usage anyway. lol

Personally.. I have noticed he game has certainly increased in memory usage each issue. When I started playing 3+ years ago, it would boot at about 500MB and then never go over 1GB. Slowly it has increased to booting around 900MB and get's close to 1.5GB after several hours of play. i16 gave it a little bump, but it wasn't from 800mb to 1.2GB.. maybe only an extra 50-100mb from my perspective.

The Required/Recommended System Specifications should have been increased a long time ago.

BillZBubba: Same here. Also, looking over Mercy drops my FPS as well.
Game crashes around 1.5-1.65 GB in i16


 

Posted

anything that has happened after i16 launch is what happens with stability issues after every issue since i have been here which was just before i10 came out. the game has alway run around 1.2 gig of my 2 gig ram. the only difference is that memory leak became more noticable when the AE came into the game.


 

Posted

Quote:
Originally Posted by NordBlast View Post
Game crashes around 1.5-1.65 GB in i16
I was just saying that the game is limited to 2GB, and would crash at or before that value, so the person with 9GB ram wouldn't have to worry about the game taking up their entire reserve. lol


 

Posted

Quote:
Originally Posted by doc_heal View Post
Normally when I play COH if I look at the process in Task Manager it usually goes up to between 750 - 850 megs of memory usage. But since I16 it climbs and climbs going easily over 1GB and sometimes really cuase my PC to go nuts. I have 2 GB memory, so I dont have to do a lot of disk swapping - but it sometimes really causes slowdowns and even crashed me a few times as the memory usage gets higher and higher.

I'm just wondering if this is a known issue and has anyone been seeing this.
Mine's been grabbing over 1.3GB of system memory pretty much since I started playing. Of course, my main machine has 8GB of RAM, so it's not noticeable, and my laptop has 4GB of RAM as well.



Clicking on the linked image above will take you off the City of Heroes site. However, the guides will be linked back here.

 

Posted

Quote:
Originally Posted by NordBlast View Post
Game crashes around 1.5-1.65 GB in i16
FWIW, I've been seeing the same thing as well.

With all the eye candy on, about 2560x1600 (windowed mode), the game seems to leak more quickly now than it did before i16.

/reloadgfx will take it down a notch, but I've noticed that it doesn't usually drop memory usage by more than 100MB at most, usually 50-70MB. I suppose I could be more vigilant about watching the RAM consumption, and I do have the reload thingy bound, but lazy is as lazy does. I also have a separate shortcut bound to the no verify command, so crashing and relaunching can take only 30 seconds. Never had an instance where launching the standard way detected any checksum issues from the crashes.

The game will usually crash on zoning after that, although it can happen to crash mid play. Usually it will crash on 1.48+ GB on zoning, but if I don't zone it will get past 1.6GB usually before giving me the 'hey let's take a break' signal.

This is on a windows7 RC system, 8GB RAM, x64 with lastest Nvidia GTX 280 drivers on a quad core system. It seemed equally stable when I was running Vista64. It just leaked more slowly previous to i16.


 

Posted

Even before issue 16 i've seen CoH gobble up a touch over 1Gb, with 4 it doesn't hurt at all. Game play has been just as it was before as well. No new lag no less frames etc.

Now I know in issue 14-15 ish, there was a bug to where if you went into base edit mode, THAT introduced a memory leak issue and its a known issue, Just don't go modifying the base if you intend to play for a few hours Or did they fix that with i16 ?


Combat Kangaroos, Justice Server. First 50's
Jirra Roo Plant/Storm/Stone/Musculature Controller
Combat Kangaroo Rifle/Energy/Mace/Spiritual Blaster
Kung Fu Kangaroo Martial Arts/Reflexes/Body/Spiritual Scrapper
Tribal Arc Shield/Elec/Mu/Spiritual Tanker

 

Posted

Quote:
As a 32-bit application, it would crash when it hit 2GB of memory usage anyway. lol
On a default system, yes, but not if you use the /3GB switch. The /3GB switch allocates 3 GB of virtual address space to an application that uses IMAGE_FILE_LARGE_ADDRESS_AWARE in the process header. This switch allows applications to address 1 GB of additional virtual address space above 2 GB.


I also have noticed a bit more memory usage, I have just chalked it up to all the wild and crazy colors people are using in their powers now and was never really concerned about it.

I will keep an eye on it for a while and see if I get the same leaks.

*update* yep, memory usage definitley increased, currently after about an hour playing, with a minor base edit thrown in im at 1.229gb usage.


 

Posted

Quote:
Originally Posted by Bill Z Bubba View Post
I don't know why the patcher frags the install directory like it does, but I've gotten into the habit of doing so after every patch regardless of whether anything is freaking out.
The patcher is changing the file sizes on several PIGG files, as it adds (or, rarely, removes) code inside them. This makes them interleave really really badly, because as one is expanded, the last few KB go into the file tables waay at the end, into unused space. Then the next file is expanded, and it leapfrogs over that one. Et cetera et cetera, ad nauseum.

The game then lags cos ALL of the updated PIGG files are now fragmented, and the data load time is now longer and a little more chaotic.

When you defrag, they're restored to a nice orderly sequence of files, each relatively self contained.



"City of Heroes. April 27, 2004 - August 31, 2012. Obliterated not with a weapon of mass destruction, not by an all-powerful supervillain... but by a cold-hearted and cowardly corporate suck-up."

 

Posted

I've had some difficulties with this as well, but up until today it has been bearable. But when I logged in my Dark/Stone Brute to go customize his armors, I loaded the new window and chat settings I'd been using onto him, and when I left the Port Oakes arena where I'd last logged him out to make my way to the Facemaker, I was greeted by a slideshow once I got out the door. You see, my current 7-year-old computer is on its last legs. I'm seeing quotes of around 2 to 9 GB of RAM, compared to my pathetic 1 GB. In other words, the increases in memory usage being mentioned are enough to paralyze my rig entirely. Which is one of the reasons why I'm now looking for a new computer. But that's a topic for another thread.


Currently published Mission Architect arcs:
Arc ID# 70466: From the Abyss.
Arc ID# 403174: The Serpent's Revenge.
Arc ID# 534236: The Clockwork Angel.

 

Posted

After several hours of play I get regular crashes now. CoX process sits around 1.4 GB at that point. Starts out with 1.0 GB.

System is XP64, RAM is 8 GB.

(I wish CoX was available as 64bit app too and would cache all that stuff in RAM to save load times, upper limit of 4 GB would be ok for me, or just make it an option in settings ;-))


 

Posted

Whenever there's been a memory leak, and playing online for a really long time creates the creeping RAM usage, too; I've found 1.3 Gig of RAM usage to be the tipping point where my system starts becoming unstable and 1.5 Gigs is a sure crash waiting to happen.

Again, using /unloadgfx brings that memory usage down and prevents crashing when there's a leak. Bind it to a key or make a macro out of it.


Speeding Through New DA Repeatables || Spreadsheet o' Enhancements || Zombie Skins: better skins for these forums || Guide to Guides

 

Posted

Quote:
Originally Posted by Bierfuiz View Post
After several hours of play I get regular crashes now. CoX process sits around 1.4 GB at that point. Starts out with 1.0 GB.

System is XP64, RAM is 8 GB.

(I wish CoX was available as 64bit app too and would cache all that stuff in RAM to save load times, upper limit of 4 GB would be ok for me, or just make it an option in settings ;-))
It does cache previous zones/maps/missions/costumes in RAM that's why the memory size increases.

Thats what the command /reloadgfx does, it dumps the cached objects from memory.

There doesn't appear to be a memory leak from where I sit, memory use going from 600MB at startup to 1.4GB over time has been normal for me for a long long time, the last memory leak I remember (besides one in bases and at the character creator which were small) went right up to the 2GB barrier and crashed consistently, but iirc that was ~10 issues ago.


 

Posted

Since I16 has hit the wifes computer, well it starts off all nice and friendly and after a bit it is a slideshow. Sadly she only has 1.5 gigs of ram.

My computer however is a lot better and I have been keeping an eye on my task manager and have noticed that COH is a lot more hungary then it use to be.

Thanks for the advice on the commands, will have her try them out and see how they work until I can get her a new rig built over the next few days.