Working as intended? (Full Version)

All Forums >> [New Releases from Matrix Games] >> Shadow Empire >> Tech Support



Message


Twotribes -> Working as intended? (6/15/2020 2:02:01 AM)

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?




Twotribes -> RE: Working as intended? (6/15/2020 2:02:49 AM)

I am talking about after you turn game off of course.




Vic -> RE: Working as intended? (6/15/2020 10:00:23 AM)

I dont think so. Is it permanent? or does it go down after time?




Twotribes -> RE: Working as intended? (6/15/2020 12:10:06 PM)

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.




WeaverofBrokenThreads -> RE: Working as intended? (6/15/2020 12:13:48 PM)

I don't have any memory leaks.




zgrssd -> RE: Working as intended? (6/15/2020 3:37:56 PM)

quote:

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




Twotribes -> RE: Working as intended? (6/15/2020 8:20:01 PM)

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.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
1.046875