You are here

Memory loss on log off

5 posts / 0 new
Last post
Arianna0
Memory loss on log off

Having been a prolific builder  my server is now almost to memory capacity 

 

What I am finding is that every time  a toon logs in they take a piece of that memory  , which is fine, but that memory is never returned when they log off ,  so  evidently I am getting some sort of memory leakage?

 

Is there some sort of script I can use to  clean up after each person logs off ?

  • up
    50%
  • down
    50%
Shadooow

How do you find out? Do you use nwnx4 and the xp_bugfix?

  • up
    50%
  • down
    50%
Arianna0

WE use  nwnx4  yes  and we have a monitor up and running that shows how much memory is being used once the mod is up and running  I have been told that  the mod should not be using over  3750mb  but  I have found that many of our  ACR scripts will not run  until its down under  3500mb   [ things like  languages, horses, our tailor,  etc . . . .   I have the mod currently down to 3360mb   but  each player that logs in  is  10mb  average   . . . . unfortunately  when they log out that  10mb is not returned to free memory but is  stacked up every time  someone logs in . .  needless to say it doesn't take very many log in for it to be over the limit and things not working again.   Working to trim and clean up things that are hogging memory but in the mean time  I need to figure out how to plug the leak .

 

  • up
    50%
  • down
    50%
Trinital

How big are your .bic files? How much do you store in them? (Item Variables ect)

What about Character Variables?

  • up
    50%
  • down
    50%
Arianna0

Characters as stored on Microsoft Azure storage vault  so that they can  travel between our  3 servers and not lose data

and are also stored locally on the server vault  which has to check with the  Azure Vault first to get the PC to log into the server

1012kb is the largest BIC , most average between  3-500kb  

The bics store   Quest variables, Journal entries,  RP XP info, inventory [armor, weapons etc ] all the  PC info   like  feats , skills,  levels . . .HP  whether that player is  injured or not ,  what spells they have memorized,  their Horse  and where that horse is at in the server.

  • up
    50%
  • down
    50%