Check what is taking up memory?

Get help using Construct 2

Post » Wed Jul 16, 2014 3:51 pm

I was wondering if there is any way of checking what is taking up memory on my project? I'd like to know what is taking up the most memory so i can optimise my game.

When i delete sprites, the memory usage does decrease but for some reason, i have some sprites where if i delete them, the memory usage doesn't decrease, and these sprites are quite large compared to others.

I have read a few tutorials on Optimisation and Perfomance but haven't come across one that shows how to see what is taking up the most memory. Is this even possible to check?
B
5
S
2
Posts: 116
Reputation: 867

Post » Wed Jul 16, 2014 6:45 pm

The sprites with many frames will take up much of the memory.
You can delete them on by one and make a list of the difference.
B
60
S
10
G
10
Posts: 1,013
Reputation: 9,155

Post » Wed Jul 16, 2014 9:41 pm

This is the way i've been doing it, just wondered if there was another way to see what is taking up the most memory.

I've assumed that every sprite will take up memory, even if they are outside of the layout, so i'm just curious as to why my memory doesn't decrease when i delete certain sprites.
B
5
S
2
Posts: 116
Reputation: 867

Post » Wed Jul 16, 2014 10:00 pm

The only workaround I know is to lower the resolution of the sprites. It works great for mobiles.
Black Bobby The Hole Greenlit with 303 votes.
B
36
S
8
G
1
Posts: 164
Reputation: 3,031

Post » Mon Jul 21, 2014 7:16 am

Je Fawk wrote:The only workaround I know is to lower the resolution of the sprites. It works great for mobiles.


to lower resolution of sprite ?
can you give us an example ?
B
46
S
16
G
8
Posts: 794
Reputation: 8,335


Return to How do I....?

Who is online

Users browsing this forum: FabianB and 13 guests