Jump to content
Salesforce and other SMB Solutions are coming soon. ×

Server 13 Script Engine Memory Leak - fmsased


millennium
 Share

Recommended Posts

We have FMS13 running on a Mac Mini server. We have noticed that Scheduled Scripts on the server cause a memory leak in the script engine file fmsased. I wrote a script to test it:

 

Set variable $Leak = 1

Loop

Set variable $Leak = $Leak + 1

Exit Loop If $Leak = 1000

End Loop

 

Whenever this script runs, it pushes the $Leak variable to 1000, then it is gone at script termination because it is a local variable. The memory usage of fmsased increases by 0.4MB each time, and it never goes back down. Shouldn't it go back down as there is nothing stored. I did not even update any records.

 

Our database solution has several scheduled scripts such that the size of fmsased exceeds our physical memory every 2 weeks or so. Performance declines dramatically until we restart the fmsased file. Is there anything I can do besides restarting the script engine every few days?

Link to comment
Share on other sites

This thread is quite old. Please start a new thread rather than reviving this one.

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.

 Share



×
×
  • Create New...

Important Information

Terms of Use