Forums

HLF General Chat Lounge Thread is sticky

Quick find code: 259-260-138-63809579

Sagzee
Jan Member 2006

Sagzee

Posts: 48,694 Sapphire Posts by user Forum Profile RuneMetrics Profile
Keighlea said :
Sagzee said :
Btw, y'know when you display fps with the console? What is 'Mem:' ?

Memory as in yer ram etc? It's almost always in the red for me that. Tho, I have a beastly machine, and part of the beast's innards are a reasonably hefty serving of 16gb RAM. So...why's it in the red? O_o

L
I
M
E
P
O
W
E
R


I think because it compares it to what 'normal' usage should be... So it doesn't matter how much you have, because it's not comparing usage against what you have. Or something :c.


*Stares and nods politely at you with a o: face, a fly lands on my eye and then flies off again*

I'mma take your word on it.

L
I
M
E
P
O
W
E
R

18-Oct-2014 21:41:35

Lathow
Oct Member 2005

Lathow

Posts: 20,529 Opal Posts by user Forum Profile RuneMetrics Profile
That mem is the heap so basically the pool of memory the java virtual machine has given rs to use. You can even see that in the console if you type heap.

http://puu.sh/chxln.png
http://puu.sh/chxoG.png

(reminder that k is 1024 and m is 1024^2 or 1048576 so 380160k = 372m)

The game can only see the heap as available memory. From that pool of memory it creates and deletes objects dynamically as needed. The fact that it's red doesn't mean anything, it's mostly there for programming purposes and to let the developers know when a lot of memory is being used. Ideally you want the game to free up unneeded memory and you don't want new content to take up too much memory. If you run out of memory the game will crash.
Hi

18-Oct-2014 21:42:39

Lathow
Oct Member 2005

Lathow

Posts: 20,529 Opal Posts by user Forum Profile RuneMetrics Profile
Also I think I didn't make this clear but the virtual machine is essentially a virtual computer. That computer has about 700mb of memory, about one third of which is needed to run some basic functions (one of which being a utility that frees up memory lol). The game never sees 16gb of memory, it only sees about 700mb, and some of it is used by some kind of 'operating system'. Hi

18-Oct-2014 21:54:17

Quick find code: 259-260-138-63809579 Back to Top