azure - Webjob giving an outofmemoryexception -


My webmobi is very low, it downloads 3kb data, then updates some information in my database, even though webmine starts An exception is thrown after and after information is being downloaded (or after)

  [07/27/2014 00:12:47 & gt; B2B 30D: ERR] Uncontrolled Exception: OutofMail Exception  

Any idea why this matter will be?

I have run the exchange locally with the same data and it uses minimal memory, I have a maximum of 65 MB, but I do not think it is enough to create an exception (or Is there any limit on webibos?)

My memory usage statistics (on the Azure Dashboard) 54% are 512 MB / hr (It looks like I'm using a lot, but still much more is available). File system storage 9 10 MB 1024% I am using a shared hosting plan mode.

The database is not killed before throwing an exception, so this database is not a problem.

Update - System Diagnostic information on Ezu using Diagnostic

  [07/28/2014 09:07:19 & gt; B2B30D: INFO] WorkingSet 64: 10.54297 [07/28/2014 09:07:19 & gt; B2B30D: INFO] Total Physical Memory: 14335.55 [07/28/2014 09:07:19 & gt; B2B30D: INFO] Available Physical Storage: 8458.691 [07/28/2014 09:07:20 & gt; B2B30D: INFO] OutofMemory Appeal [07/28/2014 09:07:20 & gt; B2B30D: INFO] Working SAT 64: 41.33594 [07/28/2014 09:07:20 & gt; B2B30D: INFO] Total Physical Memory: 14335.55 [07/28/2014 09:07:21 & gt; Therefore, my program starts and is using 10 MB, does some work, then throws an outmomemary expansion, where the outfammy option is thrown, memory has been increased to 41MB. . I would not have thought that a webmail using 41MB is too much to handle, why is this happening?   

Modify the property of batch size as follows

  JobHostConfiguration config = New JobHostConfiguration (); // It claims that the number of calls parallel to the function is one config.Queues.BatchSize = 1; Var host = new jobhost (config); // The following code ensures that WebJob will be hosted continuously. Run and Block ();  

By doing this, in every instance of your webbase, once the main function is called instead of parallel calls at one time. Good luck!


Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -