Kaseya Community

Vsa Out of memory error

  • Recently, I have began to receive VSA out of memory exception error was thrown. any ideas?

  • Is the server out of memory? Are both your web server and SQL server on the same physical/virtual server? The application side takes quite a bit of memory and SQL will use as much as it possibly can, by default anyway. If they are on the same server, you have to limit the amount of memory SQL can use to ensure you leave enough the application side.

  • You could try this: community.kaseya.com/.../14166.aspx

  • Hi  

    I would recommend creating a support ticket to help clarify this.

    Is this in reference to a SQL Memory message from the notification bar or a different message?

  • Here is the exact message:

    Server Error in '/vsaPres' Application.

    Exception of type 'System.OutOfMemoryException' was thrown.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:

    [OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.]

      System.Threading.Thread.StartInternal(IPrincipal principal, StackCrawlMark& stackMark) +0

      System.Threading.Thread.Start(StackCrawlMark& stackMark) +96

      System.Threading.Thread.Start() +23

      System.Diagnostics.ShellExecuteHelper.ShellExecuteOnSTAThread() +101

      System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo) +487

      System.Diagnostics.Process.Start() +112

      System.Diagnostics.Process.Start(ProcessStartInfo startInfo) +45

      Kaseya.Login.Entities.License.GenerateFile(String licenseCode) +95

      Kaseya.Login.DAL.Misc.LicenseProcessor.LicenseIsValid() +84

      Kaseya.Login.DAL.Repositories.AuthenticationRepository.Authenticate(ILoginData data, Boolean sleepThreadForDomains) +550

      Kaseya.Web.Controls.Login.LoginForm.ExecuteLogin(Boolean skipTwoFactorAuthentication) +47

      Kaseya.Web.Controls.Login.LoginForm.Page_Load(Object sender, EventArgs e) +600

      System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +85

      System.Web.UI.Control.OnLoad(EventArgs e) +79

      System.Web.UI.Control.LoadRecursive() +130

      System.Web.UI.Control.LoadRecursive() +200

      System.Web.UI.Control.LoadRecursive() +200

      System.Web.UI.Control.LoadRecursive() +200

      System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2837

    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.1055.0

  • Hi  

    Where are you seeing this stack trace? Is this after login within your VSA or a specific page(s) in the VSA?