Community
Showing results for 
Search instead for 
Do you mean 
Reply

OutOfMemoryException

Tuned Listener
Posts: 4
Country: Canada

OutOfMemoryException

Hi,

 

I have windows service that Logon Every 3 minutes into the Act using the Act framework DLLs 

 

 act.fwk.LogOn(user, pass, host, database);

 

To get the company  records Edited within last three minutes.

 

After running successfully for five days I got the below Exception.

 

I could not understand the reason for the Exception.

 

Exception Type
LoaderException

Message
Exception of type 'System.OutOfMemoryException' was thrown.

Stack Trace
   at Act.Framework.ActFramework.FailLogOn(Exception ex, TraceCategory tCat, TraceLevel tLevel)
   at Act.Framework.ActFramework.LogOn(String userName, String password, String databaseType, String databaseHost, String databaseName, Boolean fireEvents, Boolean suppressTierCheck, Boolean suppressSchemaCheck, Boolean suppressLicenseCheck, Boolean allowTrialModeDeparture, LogonTrack tracklogon)
   at Act.Framework.ActFramework.LogOn(String userName, String password, String databaseType, String databaseHost, String databaseName, Boolean fireEvents, LogonTrack tracklogon)
   at Act.Framework.ActFramework.LogOn(String userName, String password, String databaseType, String databaseHost, String databaseName, LogonTrack tracklogon)
   at Act.Framework.ActFramework.LogOn(String userName, String password, String databaseHost, String databaseName)
   at InfoCRM2015.ActServices.ActLogOn() in c:\Users\venki\Documents\Visual Studio 2013\Projects\InfoCRM2015\InfoCRM2015\ActServices.cs:line 24

Exception Type
OutOfMemoryException

Message
Exception of type 'System.OutOfMemoryException' was thrown.

Stack Trace
   at System.Collections.Hashtable.rehash(Int32 newsize, Boolean forceNewHashCode)
   at System.Collections.Hashtable.expand()
   at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add)
   at System.Collections.Hashtable.Add(Object key, Object value)
   at Act.Data.CommandLoaderDAO.ParseCommands(String fileName).

 

Thanks a lot in advance for your help!

 

Cheers,

 

venkat