Optimization for Map

hi, I have a map which I want to optimise but I don’t know where to start, I have streamingEnabled activated, and my models grouped in a folder, even so my map uses 3600mb of memory. How can I improve that number? (obviously the map is empty because it is not finished.)


3 Likes

compine multiple parts/meshes into 1 mesh
for example
{4E8EC6E6-F1DE-49C0-A231-B24092165CC7}
make them only 1 mesh and delete the interior faces / faces that will be blocked by other faces in a 3d software and use Lod level of detail
and group them in a folder to keep things organized

do u mean 3.6mb or 3.6gb?
3600 mb is alot

1 Like

i mean 3.6gb in total but i dont have a lot of scripts except for the script inside each tree model

1 Like

I deleted the leaves models just to check if it changed and yes, from 3.6gb to 3gb

1 Like

Each tree should ideally have 1 mesh for the trunk, and 1 mesh for the leaves. I’d also make sure your trees each have a low tri count since it looks like you’re trying to have a lot of them.

2 Likes

600mb for tree`s leaves is alot
try to optimize your meshes
-donot make very big textures
-donot make trees with high triangles count

3.6gb for an empty map with few trees is a very big number

itsnot good to have a script inside of every tree
-that will use unnecessary memory
-it will be hard to update the scripts later

you can use collection service to manage all the trees in 1 script

adding onto this I think turning off collisions (and setting the collision fidelity to box as well) should help.

Along with that really just optimize your meshes. put a single tree into one mesh if needed.

1 Like

Ok ill try it, tysm for all your replies!

1 Like

hi again, i deleted everything but i still have a 3gb of usage, i deleted all the stuff, what can i do?


Are you sure its deleted? it doesn’t seem to be. Check the workspace, its completely empty? Also are you deleting it before or after lauching a play session?

its in studio, ,but yes i deleted all. and before like i deleted all before play

Publish it to a place and play it from there, the memory usage number in studio has extra overhead so the number is higher, but it shouldnt be this high, but try playing it on the roblox client.

i will try tomorrow, thanks you

Real world building and scripting optimization for Roblox check this out also

1 Like

that 3gb usage is because you are in studio it will be less if you tried it in the Roblox app
600mbs for trees is still a lot try to optimize your trees, make them with fewer triangles and make all the leaves of every tree as 1 mesh to reduce draw calls

i tried in roblox app and then the memory usage was 800mb