What memory use means??

Discussion and feedback on Construct 2

Post » Mon Nov 18, 2013 2:24 pm

What does memory use means? i mean the number next to Aprox download and event counter number in construct..

is it memory used by the GPU?? or memory used by the RAM??

thanks for your help!! :)
B
23
S
6
G
3
Posts: 316
Reputation: 3,461

Post » Mon Nov 18, 2013 3:57 pm

Represents the apx use of memory after the images and audio are loaded and expanded for use.
B
90
S
18
G
9
Posts: 2,455
Reputation: 15,018

Post » Mon Nov 18, 2013 4:48 pm

Good question - I'm not sure if it represents VRAM, RAM, or both. I think it's just VRAM.sqiddster2013-11-18 16:48:34
B
92
S
31
G
24
Posts: 3,191
Reputation: 32,679

Post » Mon Nov 18, 2013 5:39 pm

It only attempts to estimate the peak memory use of the images in the project. (This is the memory use of images on whichever layout has the biggest memory use requirement, plus some estimated overhead).
Scirra Founder
B
395
S
231
G
88
Posts: 24,367
Reputation: 193,684

Post » Mon Nov 18, 2013 10:45 pm

[QUOTE=Ashley] It only attempts to estimate the peak memory use of the images in the project. (This is the memory use of images on whichever layout has the biggest memory use requirement, plus some estimated overhead).[/QUOTE] thanks for the repplies, ashley i have read your tutorial on how to not waste memory, and what i understood is that the GPU loads only whats on the screen?? so if i have a gpu with 512mb i must be sure not to render 300+/-mb of memory on objects at a time on the screen right?

my game its for desktop so i need to consider a max requirement. even tho almost all pcs now have at least 1gb of VRAM im aiming at 512 as maximum.
thanks!! :)
B
23
S
6
G
3
Posts: 316
Reputation: 3,461

Post » Tue Nov 19, 2013 1:46 pm

Everything in the layout is loaded in to memory, even if most of it is not on screen.
Scirra Founder
B
395
S
231
G
88
Posts: 24,367
Reputation: 193,684

Post » Wed Nov 20, 2013 2:35 am

I think it's the memory allocated to save sound and images ... before passing the files to the GPU , you need to allocate an array and put it all in it , then you send the data to the GPU to get it drawn , I don't know if images are stored on the GPU or on the CPU , but I'm sure sounds are stored on the CPU
B
42
S
17
G
17
Posts: 2,247
Reputation: 17,461

Post » Fri Nov 22, 2013 8:52 pm

But then what im supposed to do?? any tips?? im planing on doing a game on 1080p with nice visuals, but the VRAM seems to run out very quickly!!! im doing all i can to optimize it, but even then... is C2 really capable to doing a big game or its just for mobile kind of games??

another question.. when the layout its changed, what memory was being used in the GPU is emptied?? and then the next layout will be loaded into the gpu becuase if that the case, i can just do my game build with lost of layouts and in that way the gpu wont have to load big layouts so i can have good graphics...and smooth 60fps gameplay

im recycling instances and all those performance tips you see in the forums... any more you can give me?? thanks!
B
23
S
6
G
3
Posts: 316
Reputation: 3,461


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 12 guests