Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Memory Graphs and GC

Name: Anonymous 2011-10-06 11:20

When looking at the amount of memory in use how should it's graph look like?

should it be slow steady rise?:
http://i.imgur.com/2LuWz.png

Rise->big drop:
http://i.imgur.com/0Mg2S.png

Trig function like patterns:
http://i.imgur.com/wjBlt.png

I'm in the process of making a java program and when i first start out it looks like the steady/no increase flat line, but then once i start using some of my other objects i get the rise-drop due to the allocation of new stuff per frame.

I've also tried start caching a lot of things that i feel will eventually repeat (like texts drawn) that why it doesn't have to keep allocating/deallocating them per frame.

Name: Anonymous 2011-10-06 13:03

GC is shit.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List