Accueil Crush your enemies... and create an EMPIRE!!! Space Empires V -- BUY NOW!!!

Connexion utilisateur

  • Créer un nouveau compte
  • Demander un nouveau mot de passe

Navigation

  • news
    • archive
    • blogs
    • books
    • forums
    • recent posts
    • groups
  • image galleries
  • projects & downloads
  • search
  • create content
  • agrégateur de nouvelles

Rechercher

Qui est en ligne

Il y a actuellement 1 utilisateur et 105 invités en ligne.

Utilisateurs en ligne

  • ajm5k6

Languages

  • English English
  • French French

Parcourir les archives

« May 2008  
Mo Tu We Th Fr Sa Su
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  
Accueil » news » forums » Space Empires V » Space Empires V General

what causes memory leak

Image de Jagzeplin
Soumis par Jagzeplin le Lun, 2007-01-15 23:22 Space Empires V General

yea what makes se5 "leak memory" and take up way too much of my pc resources. i mean i should be able to have windows media player run without hesitation in the background when all ive got running is one 4x game. its not like im playing some gay flashy fps like BF2142 or anything

‹ Can't wait for a new patch... Planet temperature... ›
» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Options d'affichage des commentaires

Sélectionnez la méthode d'affichage des commentaires que vous préférez, puis cliquez sur "Sauvegarder les paramètres" pour activer vos changements.
Image de Thy Reaper
Mod Designer

The horrible, horrible leak...

Soumis par Thy Reaper le Lun, 2007-01-15 23:53

Leaks are caused whenever a program requests memory but never frees it again. Usually, that same memory is requested, but since it wasn't freed earlier it takes up the same amount of space again. A 1 Byte variable that does this every time the scene is drawn could take up MBs in a few hours.

The problem with leaks is that they are usually difficult to find if you weren't tracking memory usage in the first place. It could be that a list isn't getting cleaned up, or a per-frame call leaks a single variable. I'm sure if MM knew what the cause was it would've been fixed by now.

In other news, the temp folder doesn't get deleted until you close the game. So while your ram is being flooded, your hard drive is being flooded too. Have fun Smiling

-----
Watch for my mod - codename: Dimensions - coming by Summer, 2007!

» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Try real player

Soumis par evilginger le Mar, 2007-01-16 00:47

I use real player to play BBC radio programs whilst and I don’t seem to have such a problem I don’t think it helps that most MS apps are not exactly memory friendly themselves. It is does do to save and shut down SEV every so often (daily) as it speeds proceedings up, If there is a memory leak its a subtle one and there may be other contributing factors to it. It may also be that I have 3gig of RAM on this machine.

» Vous devez vous identifier ou créer un compte pour écrire des commentaires

anything above 2 GB is a waste for now

Soumis par alexdatcu le Mar, 2007-01-16 04:25

It doesnt matter how much memory you put in a computer, a single windows program can not exceed 2GB, its related to the 32 bit operating system. The new 64 bit windows should make it possible to run programs that use more than 2GB but the programs themselvs have to be programmed for the 64bit processors/OS. Unless you are using several programs at the same time there is no need fro more than 2 GB memory in a computer.

There is a program called DevPartner Studio that helps you find memory leaks if you are using visual studio, but im not sure what they are programming SE5 in...

» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Trust me I am

Soumis par evilginger le Mar, 2007-01-16 05:10

Trust me I am and this is will be the back up server (spare) when I have got the domain stuff sorted out.

» Vous devez vous identifier ou créer un compte pour écrire des commentaires
Image de Thy Reaper
Mod Designer

C++ I'd expect

Soumis par Thy Reaper le Mar, 2007-01-16 09:14

I sure hope it was programmed in C++. The same program written in both VB and C++ will run about twice as fast in C++...

Are you sure that 32bit XP can't support more than 2GBs of RAM? It effectively has more than that most of the time, but it's stored in the page file. If you keep requesting more RAM, once the RAM is full, it starts going into the page file. It should be able to support more than 2GB.

Though it is still a waste. Nothing I've ever done on my current computer has ever managed to max the RAM out, and I only have 1 GB, with only ~512 MB free at any time. Programs take up a surprisingly small amount of space when you think about it.

-----
Watch for my mod - codename: Dimensions - coming by Summer, 2007!

» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Most applications don't, but Windows...

Soumis par Ynglaur le Mar, 2007-01-16 09:28

Most applications don't use a lot of RAM, but Windows....ugh. I have my WinXP down to a little over 300MB at idle, though admittedly I do let a few "fluff" services run (DAEMON, a Logitech service for my nice mouse, etc.)

Of course, I can quickly grab all 2GB when I turn on Oracle, Informatica, and other big enterprise-grade apps. Smiling

» Vous devez vous identifier ou créer un compte pour écrire des commentaires

4GB Maximum

Soumis par Cosmic Marvel le Mar, 2007-01-16 10:30

Thy Reaper wrote:
I sure hope it was programmed in C++. The same program written in both VB and C++ will run about twice as fast in C++...

Are you sure that 32bit XP can't support more than 2GBs of RAM? It effectively has more than that most of the time, but it's stored in the page file. If you keep requesting more RAM, once the RAM is full, it starts going into the page file. It should be able to support more than 2GB.

Though it is still a waste. Nothing I've ever done on my current computer has ever managed to max the RAM out, and I only have 1 GB, with only ~512 MB free at any time. Programs take up a surprisingly small amount of space when you think about it.

-----
Watch for my mod - codename: Dimensions - coming by Summer, 2007!


Yes, Reaper, you're correct. Seems far too many people here spout information without really knowing a single thing about which they're speaking. Ever since the first release of NT - and all the other OSs built on it (like Win2K), Windows has fully supported 4GB right out of the box.

And if anyone still has any doubt, go and check it out instead of just talking nonsense, please.

» Vous devez vous identifier ou créer un compte pour écrire des commentaires
Image de Jared_Torval

4GB Maximum

Soumis par Jared_Torval le Mar, 2007-01-16 10:50

The upcoming Windows allows more onboard memory but that depends on which release you buy. details can be found at
http://msdn2.microsoft.com/en-us/library/aa366778.aspx

» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Good! (smile)

Soumis par Cosmic Marvel le Mar, 2007-01-16 11:10

Jared_Torval wrote:
The upcoming Windows allows more onboard memory but that depends on which release you buy. details can be found at http://msdn2.microsoft.com/en-us/library/aa366778.aspx

That's good information! And that's the kind of thing I like to see people pointing too - solid stuff. Smiling

As long as they're discussing the game, fine. But when many here start wandering off into operating systems, etc., all they're doing is repeating something that their "best bud" (who doesn't know anything, either) has told them.

So just stick to the game and everyone will be OK. Eye-wink

» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Options d'affichage des commentaires

Sélectionnez la méthode d'affichage des commentaires que vous préférez, puis cliquez sur "Sauvegarder les paramètres" pour activer vos changements.

Now on STEAM

Now on STEAM!Space Empires V via STEAMSpace Empires IV via STEAMSTEAM online by Valve Corporation

Contenu populaire

Aujourd'hui :

  • Defence vs. Attack and other Combat related questions...
  • Sphärenwelt
  • Why Retrofit is limited to +50% per order?
  • Babylon 5 Wars SEV Mod Update
  • Balance Mod Neutral Races

Depuis toujours :

  • Space Empires V and VI: Expansions and the Future: Tell the Company What's on Your Wish List
  • Space Empires V
  • Gritty Galaxy Fleet Clash
  • Damn Dirty Bugs/Annoyances
  • Space Empires V: General Thoughts, Observations, and Suggestions

Dernier accès :

  • Who is the man behind the game?
  • allowing right-click "ship report" in tactical combat makes scanners almost completely unnecessary
  • How do you manage long-distance strike fleets?
  • noob seeking for his first online game
  • Endless Hunger
(c) Strategy First, Inc. All rights reserved.