Working as intended?

Moderator: Vic

Post Reply
User avatar
Twotribes
Posts: 6466
Joined: Fri Feb 15, 2002 10:00 am
Location: Jacksonville NC
Contact:

Working as intended?

Post by Twotribes »

My current set up uses 27 to 28 percent of my memory after playing this game that jumps to 35 to 40 percent, is that normal?
Favoritism is alive and well here.
User avatar
Twotribes
Posts: 6466
Joined: Fri Feb 15, 2002 10:00 am
Location: Jacksonville NC
Contact:

RE: Working as intended?

Post by Twotribes »

I am talking about after you turn game off of course.
Favoritism is alive and well here.
User avatar
Vic
Posts: 9766
Joined: Mon May 17, 2004 2:17 pm
Contact:

RE: Working as intended?

Post by Vic »

I dont think so. Is it permanent? or does it go down after time?
Visit www.vrdesigns.net for the latest news, polls, screenshots and blogs on Shadow Empire, Decisive Campaigns and Advanced Tactics
User avatar
Twotribes
Posts: 6466
Joined: Fri Feb 15, 2002 10:00 am
Location: Jacksonville NC
Contact:

RE: Working as intended?

Post by Twotribes »

That I don't know just noticed it I will check it out more maybe something else caused it, I know the other day I had an update for windows to do and it went to 40 percent.
Favoritism is alive and well here.
WeaverofBrokenThreads
Posts: 71
Joined: Mon Jun 08, 2020 3:16 am

RE: Working as intended?

Post by WeaverofBrokenThreads »

I don't have any memory leaks.
zgrssd
Posts: 5105
Joined: Tue Jun 09, 2020 1:02 pm

RE: Working as intended?

Post by zgrssd »

ORIGINAL: Vic

I dont think so. Is it permanent? or does it go down after time?
We are dealing with .NET, so Garbage Collection Memory Management. Memory Measurements are notoriously hard to do right. And issues even worse to diagnose.

So the usual Spiel so people do not missunderstand the GC:
Garbage Collection is expensive. While it runs, all other threads must pause. As a result .NET is really lazy at running the GC. If it only happens once - on application closure - that is the ideal case. Beyond that, only a few cases can get it to run:
- danger of a OutOfMemoryException. When you get one, the GC did all the collection and defragmentation it could.
- explicit calls of GC.Collect(). But really does not belong into production code.
- various optimisations. Concurrent/Server Garbage Collection. Automatic passes over generation 1 after leaving certain scopes.

Taskmanager memory usage:
200 MiB during intro sequence
183 MiB in main menu
just shy of 800 MiB after loading a large moon
User avatar
Twotribes
Posts: 6466
Joined: Fri Feb 15, 2002 10:00 am
Location: Jacksonville NC
Contact:

RE: Working as intended?

Post by Twotribes »

Well I can't recreate it right now so perhaps it is a minor problem, The only reason I notice it is cause at about 40 percent memory usage my system gets a few unhandled exception errors when playing this or Advanced Tactics Gold.
Favoritism is alive and well here.
Post Reply

Return to “Tech Support”