Massive Memory Usage/Drainage?


(Pez) #1

Ok, not sure if this is just me, or an issue with the game.

Last night, I started playing on Challenges. I got distracted by mail, and ALT/Tabbed out of the game and went to my mail. I spent 15-20 minutes out of the game. I came back to the game, and the text was corrupted.

I ALT/Tabbed back out, and saw my RAM monitor started at about 40% usage, and gradually climbed up to 100% then the game crashed.

Now, I’m not technical guru, but isn’t that a case of memory leakage or something. Surely it should just climb and climb and then crash? Shouldn;t it top out somewhere? If I quit Steam/Brink and restart them, Memory is back to about 35/40% and stays there if I stay in game.

I’m running a i7 2630QM, 4gig DDR3 1333mghz and a Nvidia 460m.

Just wondering if anyone else has tried this, or experienced it?

Edit: And yes, I know, DON’T do it so it won’t happen :slight_smile:


(jRAD) #2

This is an issue that other folks have reported, too. We’re looking into the cause. :slight_smile:


(Pez) #3

Cheers jRad.

Like I said, not really a huge problem. The answer is clearly if you know about it, don’t do it :smiley:

Would be interested to know why it happens :slight_smile:


(Karait) #4

How heartwarming is it that an SD employee used his precious time to respond to a complaint on such a minor bug, but no-one of you lot is willing to inform the community on the state of game-breaking issues. Way to go Splash Damage, you’ve been fed up with all the good reputation over the years, haven’t you?


(shibbyuk) #5

He just responded to say they’re aware of it and working on it; same as they have for most of the bugs reported. Give the community an inch they want a mile!


(eMwegA) #6

yep greedy community. want to actually play the games they bought… wtf


(Karait) #7

Since “personal attacks are not allowed” on the forums, I will just correct your post:


(shibbyuk) #8

We were not talking about the game though were we, we were talking about the developer’s interaction with the community.


(Pez) #9

Whilst you two are busy hijacking my thread/post, I thought I may as well throw in my 2 cents.

Karait - This thread has nothing to do with you. you are clearly here to just troll, so please, leave this thread alone and go and complain elsewhere.

Shibby - Cheers for the input, and just to slightly edit your post above, we were actually talking about memory leakage in the game, rather than whether or not the Devs respond.

For what it’s worth, I spent £27.99 @ Game for this title. since I’ve loaded it, I’ve had 13-14 hours of good gameplay, little lag and nice servers. I’ve happily completed all challenges and have had no real issues what so ever.


(McAfee) #10

Here is a workaround:
http://www.splashdamage.com/forums/showthread.php?t=26744

Switch the game to a window, before alt+tabbing, no leaks.


(Pez) #11

Cheers Mr Anti Virus. I’ll have a looksie :slight_smile:


(system) #12

[QUOTE=Pez;312846]Cheers jRad.

Like I said, not really a huge problem. The answer is clearly if you know about it, don’t do it :smiley:

Would be interested to know why it happens :)[/QUOTE]

Basically, if you don’t free the memory a pointer is pointing, and you point that pointer to another memory block, and there is no other pointer pointing at the first memory block, that memory block will remain allocated and out of your control until the game quits and the operating system frees it. If you do this again and again, you will eat through memory in no time.

Understood?


(McAfee) #13

I have 2 guesses:

  • too many objects are being created/deleted and at the same time depending on the garbage collector. And for some reason the garbage collector is not triggering whilst out of focus and not in window mode.
  • some loop goes wild while out of focus, maybe because something can’t be referenced the same way, and starts creating objects uncontrolled until it runs out of memory.

(system) #14

[QUOTE=McAfee;314170]I have 2 guesses:

  • too many objects are being created/deleted and at the same time depending on the garbage collector. And for some reason the garbage collector is not triggering whilst out of focus and not in window mode.
  • some loop goes wild while out of focus, maybe because something can’t be referenced the same way, and starts creating objects uncontrolled until it runs out of memory.[/QUOTE]

Garbage Collector, lol, what do you think this is crappy java or .net? There is no garbage collector in c/c++


(Pez) #15

^^ LOL

Purses at 20 ft ladies :slight_smile:


(Ellos) #16

Garbage Collector, lol, what do you think this is crappy java or .net? There is no garbage collector in c/c++

They could have made one them selves, its unlikely but some game developers do use it to speed up development because they can then use the fire and forget strategy


(Pez) #17

^^ Unlike most FPS’ers eh : )


(system) #18

Yes, because having total control over when and where memory is freed is such a disadvantage. We’d better have a stupid garbage collector that can only slow things down when you least expect it.