Re: TM1 Garbage Memory
Posted: Sun Mar 24, 2013 2:55 am
I suspect that if you or I were to post to a Russian-based forum in Russian some of the members may find the syntax or wording wanting as well.lotsaram wrote:Well I think if you meant that you were starting a server from an empty data directory there were maybe clearer or better ways of phrasing it.![]()
I do agree that it's not a cause for concern. I don't profess to be an expert in Windows memory management but I suspect that rather than allocating each single byte in memory as needed, it's far more likely to be allocated in "blocks" before the data is loaded. That's because:lotsaram wrote:Some garbage memory is normal. It just means that TM1 has requested more memory from the OS that what it currently requires. I don't know why you would be concerned about it.
(a) You can't know exactly how many bytes will be needed until you've actually read the data; and
(b) Using memory blocks would mean faster load times since you wouldn't need to be constantly waiting for Windows to give you another memory address to shove each byte into.
If I'm correct about that, and I think I probably am, it wouldn't be too surprising if some of the blocks that the server asks for during startup end up being larger than ultimately needed.
Since the server doesn't release memory back to the O/S, you'd end up with some garbage memory even in a "fresh" and largely empty server.