Premetto che il problema si manifesta solo sul mio pc principale (desktop core i5, 8 gb di RAM DDR, SSD + hd sata) mentre sul notebook (lenovo X301) e sul 2° pc desktop "muletto" non ho nessun problema.
Di tanto in tanto e senza un apparente perché (sembrava fosse Kaspersky, l'ho tolto ma il problema permane sia con Defender che con Avira o Panda free) il sistema fa apparire una schermata di problemi di NET Framwork con i seguenti dettagli:
Le informazioni su come richiamare il debug JIT (Just-In-Time) anziché questa finestra
sono riportate in fondo al messaggio.
************** Testo dell'eccezione **************
System.OutOfMemoryException: Memoria insufficiente.
in System.Drawing.Image.FromStream(Stream stream, Boolean useEmbeddedColorManagement, Boolean validateImageData)
in System.Drawing.Image.FromStream(Stream stream)
in System.Windows.Forms.PictureBox.Load()
in System.Windows.Forms.PictureBox.Load(String url)
in UserInterface.Form1.PictureBox5timer_Tick(Object sender, EventArgs e)
in System.Windows.Forms.Timer.OnTick(EventArgs e)
in System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Assembly caricati **************
mscorlib
Versione assembly: 2.0.0.0
Versione Win32: 2.0.50727.8933 (WinRelRS4.050727-8900)
Base di codice: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
UserInterface
Versione assembly: 1.0.0.0
Versione Win32: 1.0.0.0
Base di codice: file:///F:/Program%20Files%20(x86)/Emily2/UserInterface.exe
System.ServiceProcess
Versione assembly: 2.0.0.0
Versione Win32: 2.0.50727.8922 (WinRelRS4.050727-8900)
Base di codice: file:///C:/WINDOWS/assembly/GAC_MSIL/System.ServiceProcess/2.0.0.0__b03f5f7f11d50a3a/System.ServiceProcess.dll
System
Versione assembly: 2.0.0.0
Versione Win32: 2.0.50727.8922 (WinRelRS4.050727-8900)
Base di codice: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
System.Windows.Forms
Versione assembly: 2.0.0.0
Versione Win32: 2.0.50727.8922 (WinRelRS4.050727-8900)
Base di codice: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
System.Drawing
Versione assembly: 2.0.0.0
Versione Win32: 2.0.50727.8922 (WinRelRS4.050727-8900)
Base di codice: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
System.Configuration
Versione assembly: 2.0.0.0
Versione Win32: 2.0.50727.8922 (WinRelRS4.050727-8900)
Base di codice: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
System.Xml
Versione assembly: 2.0.0.0
Versione Win32: 2.0.50727.8922 (WinRelRS4.050727-8900)
Base di codice: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
System.Data
Versione assembly: 2.0.0.0
Versione Win32: 2.0.50727.8922 (WinRelRS4.050727-8900)
Base di codice: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
System.Transactions
Versione assembly: 2.0.0.0
Versione Win32: 2.0.50727.8922 (WinRelRS4.050727-8900)
Base di codice: file:///C:/WINDOWS/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
System.EnterpriseServices
Versione assembly: 2.0.0.0
Versione Win32: 2.0.50727.8922 (WinRelRS4.050727-8900)
Base di codice: file:///C:/WINDOWS/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
System.Drawing.resources
Versione assembly: 2.0.0.0
Versione Win32: 2.0.50727.8922 (WinRelRS4.050727-8900)
Base di codice: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing.resources/2.0.0.0_it_b03f5f7f11d50a3a/System.Drawing.resources.dll
System.Windows.Forms.resources
Versione assembly: 2.0.0.0
Versione Win32: 2.0.50727.8922 (WinRelRS4.050727-8900)
Base di codice: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_it_b77a5c561934e089/System.Windows.Forms.resources.dll
mscorlib.resources
Versione assembly: 2.0.0.0
Versione Win32: 2.0.50727.8933 (WinRelRS4.050727-8900)
Base di codice: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
************** Debug JIT **************
Per attivare il debug JIT, è necessario impostare il valore
jitDebugging nella sezione system.windows.forms del file di configurazione
dell'applicazione o del computer (machine.config).
L'applicazione inoltre deve essere compilata con il debug
attivato.
Ad esempio:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
Quando il debug JIT è attivato, tutte le eccezioni non gestite
vengono inviate al debugger JIT registrato nel computer,
anziché essere gestite da questa finestra di dialogo.
Cosa può essere?