Jump to content
Sign in to follow this  
Gearsawe Stonecutter

Script memory with llSetMemoryLimit on server side

Recommended Posts

I am curious about llSetMemoryLimit now. Seeing that we can set it to any number of bytes but what I wonder is the memory on the server I would assume has certain cluster sizes it uses for its memory. Would it be best setting the memory in increments of powers of 2? Such as 8k, 16k, 32k, and 64k? Or setting it to an odd number like 23192 would only take up that? If the cluster size is 1024byes you might as well do 23*1024 = 23553 and set the memory to that number.

I just like to make the script memory efficient. I guess the more confusing part is the limit is how much it can take up. When on the client tools reports a number about an object but that is not the amount of memory that object is really using but the max the object can use. So maybe setting the limits is kind of pointless? I guess it just looks better when you can say your object take up 89K and not 256K.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...