System.OutOfMemoryException when loading HDF file as a map

Mohid Studio general discussion forum
garbossa@gmail.com
MOHID Beginner
Posts: 12
Joined: Thu Jan 01, 1970 00:00

System.OutOfMemoryException when loading HDF file as a map

Postby garbossa@gmail.com » Wed Aug 21, 2013 11:20

Hello Mohiders...

I have ran Mohid to simulate one month of our Bay and got a 500Mg file for Properties and a 1Gb file for Hydrodynamics. I can open the generated time series with no problem, but I´m having some problems loading these files as maps.

I know that the files are large, but I´m using an i7 with 16Gb of ram. So, my doubt is... It is a problem in the computer configuration or I simply should not try to open files with this size?

Best Regards!

Luis HP Garbossa

Here goes the Exception warning:


Consulte o final desta mensagem para obter detalhes sobre como chamar a
depuração just-in-time (JIT) em vez desta caixa de diálogo.

************** Texto de Exceção **************
System.OutOfMemoryException: Exceção do tipo 'System.OutOfMemoryException' foi acionada.
em ActionSoft.Utils.HDFReader.ReadDataSet(String path, Int32 slice)
em ActionSoft.Shared.Domain.GridBasedHDFFile.GetGridData(String DSName, String MappingName, Int32 slice)
em SharpMap.Layers.HDFGridDataAnimation..ctor(String layerName, String fileName, String parameter, String mapping, Int32 slice, Boolean useLatLon, String rootGroup)
em ActionSoft.GIS.LayerManager.LayerFactory.HDFCollection(String FileName, String parameter, String mapping, Int32 slice, Boolean useLatLon, LayerStyle style, String rootGroup)
em ActionSoft.GIS.UI.DlgAddHDFPolygonLayer.btnOK_Click(Object sender, EventArgs e)
em System.Windows.Forms.Control.OnClick(EventArgs e)
em ComponentFactory.Krypton.Toolkit.KryptonButton.OnClick(EventArgs e)
em ComponentFactory.Krypton.Toolkit.KryptonButton.OnButtonClick(Object sender, MouseEventArgs e)
em ComponentFactory.Krypton.Toolkit.ButtonController.OnClick(MouseEventArgs e)
em ComponentFactory.Krypton.Toolkit.ButtonController.MouseUp(Control c, Point pt, MouseButtons button)
em ComponentFactory.Krypton.Toolkit.ViewBase.MouseUp(Point pt, MouseButtons button)
em ComponentFactory.Krypton.Toolkit.ViewBase.MouseUp(Point pt, MouseButtons button)
em ComponentFactory.Krypton.Toolkit.ViewBase.MouseUp(Point pt, MouseButtons button)
em ComponentFactory.Krypton.Toolkit.ViewBase.MouseUp(Point pt, MouseButtons button)
em ComponentFactory.Krypton.Toolkit.ViewManager.MouseUp(MouseEventArgs e, Point rawPt)
em ComponentFactory.Krypton.Toolkit.VisualControlBase.OnMouseUp(MouseEventArgs e)
em System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
em System.Windows.Forms.Control.WndProc(Message& m)
em ComponentFactory.Krypton.Toolkit.VisualControlBase.WndProc(Message& m)
em System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
em System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
em System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Assemblies Carregados **************
mscorlib
Versão do Assembly: 4.0.0.0
Versão do Win32: 4.0.30319.1008 (RTMGDR.030319-1000)
Base de Código: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
MOHID Studio
Versão do Assembly: 1.2.7.566
Versão do Win32: 1.2.7.566
Base de Código: file:///C:/Program%20Files%20(x86)/Action%20Modulers/MOHID%20Studio/MOHID%20Studio.exe
----------------------------------------
Ninject
Versão do Assembly: 3.0.0.0
Versão do Win32: 3.0.0.15
Base de Código: file:///C:/Program%20Files%20(x86)/Action%20Modulers/MOHID%20Studio/Ninject.DLL
----------------------------------------
System.Drawing
Versão do Assembly: 4.0.0.0
Versão do Win32: 4.0.30319.1001 built by: RTMGDR
Base de Código: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
Versão do Assembly: 4.0.0.0
Versão do Win32: 4.0.30319.1001 built by: RTMGDR
Base de Código: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
ActionSoft.Generic.UI.Controls
Versão do Assembly: 1.0.0.0
Versão do Win32: 1.0.0.0
Base de Código: file:///C:/Program%20Files%20(x86)/Action%20Modulers/MOHID%20Studio/ActionSoft.Generic.UI.Controls.DLL
----------------------------------------
log4net
Versão do Assembly: 1.2.10.0
Versão do Win32: 1.2.10.0
Base de Código: file:///C:/Program%20Files%20(x86)/Action%20Modulers/MOHID%20Studio/log4net.DLL
----------------------------------------
System.Core
Versão do Assembly: 4.0.0.0
Versão do Win32: 4.0.30319.233 built by: RTMGDR
Base de Código: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
Framework Integration.DAL
Versão do Assembly: 1.0.0.0
Versão do Win32: 1.0.0.0
Base de Código: file:///C:/Program%20Files%20(x86)/Action%20Modulers/MOHID%20Studio/Framework%20Integration.DAL.DLL
----------------------------------------
ActionSoft.Utils
Versão do Assembly: 1.0.0.0
Versão do Win32: 1.0.0.0
Base de Código: file:///C:/Program%20Files%20(x86)/Action%20Modulers/MOHID%20Studio/ActionSoft.Utils.DLL
----------------------------------------
ActionSoft.LicenseManager
Versão do Assembly: 1.0.0.0
Versão do Win32: 1.0.0.0
Base de Código: file:///C:/Program%20Files%20(x86)/Action%20Modulers/MOHID%20Studio/ActionSoft.LicenseManager.DLL
----------------------------------------
NetTopologySuite
Versão do Assembly: 1.13.4492.23064
Versão do Win32: 1.13.0
Base de Código: file:///C:/Program%20Files%20(x86)/Action%20Modulers/MOHID%20Studio/NetTopologySuite.DLL
----------------------------------------
GeoAPI
Versão do Assembly: 1.7.4492.23063
Versão do Win32: 1.7.4492.23063
Base de Código: file:///C:/Program%20Files%20(x86)/Action%20Modulers/MOHID%20Studio/GeoAPI.DLL
----------------------------------------
System.Windows.Forms
Versão do Assembly: 4.0.0.0
Versão do Win32: 4.0.30319.1002 built by: RTMGDR
Base de Código: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
Qios.DevSuite.Components
Versão do Assembly: 4.0.0.10
Versão do Win32: 4.0.0.10
Base de Código: file:///C:/Program%20Files%20(x86)/Action%20Modulers/MOHID%20Studio/Qios.DevSuite.Components.DLL
----------------------------------------
Framework Integration.UI
Versão do Assembly: 1.0.0.0
Versão do Win32: 1.0.0.0
Base de Código: file:///C:/Program%20Files%20(x86)/Action%20Modulers/MOHID%20Studio/Framework%20Integration.UI.DLL
----------------------------------------
MOHID.Configuration
Versão do Assembly: 1.0.0.0
Versão do Win32: 1.0.0.0
Base de Código: file:///C:/Program%20Files%20(x86)/Action%20Modulers/MOHID%20Studio/MOHID.Configuration.DLL
----------------------------------------
ComponentFactory.Krypton.Toolkit
Versão do Assembly: 4.4.0.0
Versão do Win32: 4.4.0.0
Base de Código: file:///C:/Program%20Files%20(x86)/Action%20Modulers/MOHID%20Studio/ComponentFactory.Krypton.Toolkit.DLL
----------------------------------------
System.Configuration
Versão do Assembly: 4.0.0.0
Versão do Win32: 4.0.30319.1015 (RTMGDR.030319-1000)
Base de Código: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Versão do Assembly: 4.0.0.0
Versão do Win32: 4.0.30319.1015 built by: RTMGDR
Base de Código: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Studio.UI
Versão do Assembly: 1.0.0.0
Versão do Win32: 1.0.0.0
Base de Código: file:///C:/Program%20Files%20(x86)/Action%20Modulers/MOHID%20Studio/Studio.UI.DLL
----------------------------------------
WeifenLuo.WinFormsUI.Docking
Versão do Assembly: 2.5.0.27825
Versão do Win32: 2.5.0.0
Base de Código: file:///C:/Program%20Files%20(x86)/Action%20Modulers/MOHID%20Studio/WeifenLuo.WinFormsUI.Docking.DLL
----------------------------------------
ActionSoft.GIS.UI
Versão do Assembly: 1.0.0.0
Versão do Win32: 1.0.0.0
Base de Código: file:///C:/Program%20Files%20(x86)/Action%20Modulers/MOHID%20Studio/ActionSoft.GIS.UI.DLL
----------------------------------------
ICSharpCode.TextEditor
Versão do Assembly: 3.2.1.6466
Versão do Win32: 3.2.1.6466
Base de Código: file:///C:/Program%20Files%20(x86)/Action%20Modulers/MOHID%20Studio/ICSharpCode.TextEditor.DLL
----------------------------------------
Studio.Domain
Versão do Assembly: 1.0.0.0
Versão do Win32: 1.0.0.0
Base de Código: file:///C:/Program%20Files%20(x86)/Action%20Modulers/MOHID%20Studio/Studio.Domain.DLL
----------------------------------------
System.Runtime.Serialization
Versão do Assembly: 4.0.0.0
Versão do Win32: 4.0.30319.1 (RTMRel.030319-0100)
Base de Código: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
----------------------------------------
wb5jo4t4
Versão do Assembly: 1.0.0.0
Versão do Win32: 4.0.30319.1001 built by: RTMGDR
Base de Código: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
ActionSoft.DALManager
Versão do Assembly: 1.0.0.0
Versão do Win32: 1.0.0.0
Base de Código: file:///C:/Program%20Files%20(x86)/Action%20Modulers/MOHID%20Studio/ActionSoft.DALManager.DLL
----------------------------------------
NHibernate
Versão do Assembly: 2.1.2.4000
Versão do Win32: 2.1.2.4000
Base de Código: file:///C:/Program%20Files%20(x86)/Action%20Modulers/MOHID%20Studio/NHibernate.DLL
----------------------------------------
Studio.Business
Versão do Assembly: 1.0.0.0
Versão do Win32: 1.0.0.0
Base de Código: file:///C:/Program%20Files%20(x86)/Action%20Modulers/MOHID%20Studio/Studio.Business.DLL
----------------------------------------
Shared.Business
Versão do Assembly: 1.0.0.0
Versão do Win32: 1.0.0.0
Base de Código: file:///C:/Program%20Files%20(x86)/Action%20Modulers/MOHID%20Studio/Shared.Business.DLL
----------------------------------------
OpenTK
Versão do Assembly: 1.1.0.0
Versão do Win32: 1.1.446.31544
Base de Código: file:///C:/Program%20Files%20(x86)/Action%20Modulers/MOHID%20Studio/OpenTK.DLL
----------------------------------------
ActionSoft.GIS.LayerManager
Versão do Assembly: 1.0.0.0
Versão do Win32: 1.0.0.0
Base de Código: file:///C:/Program%20Files%20(x86)/Action%20Modulers/MOHID%20Studio/ActionSoft.GIS.LayerManager.DLL
----------------------------------------
XYGraph.UI
Versão do Assembly: 1.0.0.0
Versão do Win32: 1.0.0.0
Base de Código: file:///C:/Program%20Files%20(x86)/Action%20Modulers/MOHID%20Studio/XYGraph.UI.DLL
----------------------------------------
System.Design
Versão do Assembly: 4.0.0.0
Versão do Win32: 4.0.30319.237 built by: RTMGDR
Base de Código: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Design/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Design.dll
----------------------------------------
Microsoft.SqlServer.Smo
Versão do Assembly: 10.0.0.0
Versão do Win32: 10.50.1750.9 ((dac_inplace_upgrade).101209-1051 )
Base de Código: file:///C:/Program%20Files%20(x86)/Action%20Modulers/MOHID%20Studio/Microsoft.SqlServer.Smo.DLL
----------------------------------------
System.Data.SQLite
Versão do Assembly: 1.0.67.0
Versão do Win32: 1.0.67.0
Base de Código: file:///C:/Program%20Files%20(x86)/Action%20Modulers/MOHID%20Studio/System.Data.SQLite.DLL
----------------------------------------
System.Data
Versão do Assembly: 4.0.0.0
Versão do Win32: 4.0.30319.237 (RTMGDR.030319-2300)
Base de Código: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Transactions
Versão do Assembly: 4.0.0.0
Versão do Win32: 4.0.30319.1 (RTMRel.030319-0100)
Base de Código: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.EnterpriseServices
Versão do Assembly: 4.0.0.0
Versão do Win32: 4.0.30319.1 (RTMRel.030319-0100)
Base de Código: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
NHibernate.Spatial.MsSqlSpatial
Versão do Assembly: 1.0.0.0
Versão do Win32: 1.0.0.0
Base de Código: file:///C:/Program%20Files%20(x86)/Action%20Modulers/MOHID%20Studio/NHibernate.Spatial.MsSqlSpatial.DLL
----------------------------------------
NHibernate.Spatial
Versão do Assembly: 1.0.0.0
Versão do Win32: 1.0.0.0
Base de Código: file:///C:/Program%20Files%20(x86)/Action%20Modulers/MOHID%20Studio/NHibernate.Spatial.DLL
----------------------------------------
NHibernate.Spatial.MsSql2008
Versão do Assembly: 1.0.0.0
Versão do Win32: 1.0.0.0
Base de Código: file:///C:/Program%20Files%20(x86)/Action%20Modulers/MOHID%20Studio/NHibernate.Spatial.MsSql2008.DLL
----------------------------------------
NHibernate.ByteCode.Castle
Versão do Assembly: 2.1.2.4000
Versão do Win32: 2.1.2.4000
Base de Código: file:///C:/Program%20Files%20(x86)/Action%20Modulers/MOHID%20Studio/NHibernate.ByteCode.Castle.DLL
----------------------------------------
Iesi.Collections
Versão do Assembly: 1.0.1.0
Versão do Win32: 2.1.0.4000
Base de Código: file:///C:/Program%20Files%20(x86)/Action%20Modulers/MOHID%20Studio/Iesi.Collections.DLL
----------------------------------------
NHibernate.Mapping.Attributes
Versão do Assembly: 2.0.0.2001
Versão do Win32:
Base de Código: file:///C:/Program%20Files%20(x86)/Action%20Modulers/MOHID%20Studio/NHibernate.Mapping.Attributes.DLL
----------------------------------------
wycfbpwr
Versão do Assembly: 2.1.2.4000
Versão do Win32: 4.0.30319.1001 built by: RTMGDR
Base de Código: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
wjdy4am2
Versão do Assembly: 2.1.2.4000
Versão do Win32: 4.0.30319.1001 built by: RTMGDR
Base de Código: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
EnvironmentalMonitoring.Domain
Versão do Assembly: 1.0.0.0
Versão do Win32: 1.0.0.0
Base de Código: file:///C:/Program%20Files%20(x86)/Action%20Modulers/MOHID%20Studio/EnvironmentalMonitoring.Domain.DLL
----------------------------------------
Shared.Domain
Versão do Assembly: 1.0.0.0
Versão do Win32: 1.0.0.0
Base de Código: file:///C:/Program%20Files%20(x86)/Action%20Modulers/MOHID%20Studio/Shared.Domain.DLL
----------------------------------------
Generic.Interfaces
Versão do Assembly: 1.0.0.0
Versão do Win32: 1.0.0.0
Base de Código: file:///C:/Program%20Files%20(x86)/Action%20Modulers/MOHID%20Studio/Generic.Interfaces.DLL
----------------------------------------
SharpMap
Versão do Assembly: 0.9.4492.23430
Versão do Win32: 0.9.0.0
Base de Código: file:///C:/Program%20Files%20(x86)/Action%20Modulers/MOHID%20Studio/SharpMap.DLL
----------------------------------------
GeographicFeatures.Domain
Versão do Assembly: 1.0.0.0
Versão do Win32: 1.0.0.0
Base de Código: file:///C:/Program%20Files%20(x86)/Action%20Modulers/MOHID%20Studio/GeographicFeatures.Domain.DLL
----------------------------------------
System.Numerics
Versão do Assembly: 4.0.0.0
Versão do Win32: 4.0.30319.1 built by: RTMRel
Base de Código: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
ActionSoft.Utils.HDF
Versão do Assembly: 1.0.0.0
Versão do Win32: 1.0.0.0
Base de Código: file:///C:/Program%20Files%20(x86)/Action%20Modulers/MOHID%20Studio/ActionSoft.Utils.HDF.DLL
----------------------------------------
ActionSoft.Utils.Progress
Versão do Assembly: 1.0.0.0
Versão do Win32: 1.0.0.0
Base de Código: file:///C:/Program%20Files%20(x86)/Action%20Modulers/MOHID%20Studio/ActionSoft.Utils.Progress.DLL
----------------------------------------
System.Windows.Forms.resources
Versão do Assembly: 4.0.0.0
Versão do Win32: 4.0.30319.1 built by: RTMRel
Base de Código: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_pt-BR_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
mvn05aeo
Versão do Assembly: 1.0.0.0
Versão do Win32: 4.0.30319.1001 built by: RTMGDR
Base de Código: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
q2tcomvo
Versão do Assembly: 1.0.0.0
Versão do Win32: 4.0.30319.1001 built by: RTMGDR
Base de Código: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
OpenTK.GLControl
Versão do Assembly: 1.1.0.0
Versão do Win32: 1.1.446.31544
Base de Código: file:///C:/Program%20Files%20(x86)/Action%20Modulers/MOHID%20Studio/OpenTK.GLControl.DLL
----------------------------------------
XYGraph.Manager
Versão do Assembly: 1.0.0.0
Versão do Win32: 1.0.0.0
Base de Código: file:///C:/Program%20Files%20(x86)/Action%20Modulers/MOHID%20Studio/XYGraph.Manager.DLL
----------------------------------------
w5ss3gle
Versão do Assembly: 1.0.0.0
Versão do Win32: 4.0.30319.1001 built by: RTMGDR
Base de Código: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms.DataVisualization
Versão do Assembly: 4.0.0.0
Versão do Win32: 4.0.30319.1
Base de Código: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.DataVisualization/v4.0_4.0.0.0__31bf3856ad364e35/System.Windows.Forms.DataVisualization.dll
----------------------------------------
thicfkgr
Versão do Assembly: 1.0.0.0
Versão do Win32: 4.0.30319.1001 built by: RTMGDR
Base de Código: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
ActionSoft.Models.Base
Versão do Assembly: 1.0.0.0
Versão do Win32: 1.0.0.0
Base de Código: file:///C:/Program%20Files%20(x86)/Action%20Modulers/MOHID%20Studio/ActionSoft.Models.Base.DLL
----------------------------------------
MohidLand.Plugin.Model
Versão do Assembly: 1.0.0.0
Versão do Win32: 1.0.0.0
Base de Código: file:///C:/Program%20Files%20(x86)/Action%20Modulers/MOHID%20Studio/MohidLand.Plugin.Model.DLL
----------------------------------------
MohidRiver.Plugin.Model
Versão do Assembly: 1.0.0.0
Versão do Win32: 1.0.0.0
Base de Código: file:///C:/Program%20Files%20(x86)/Action%20Modulers/MOHID%20Studio/MohidRiver.Plugin.Model.DLL
----------------------------------------
MohidWater.Plugin.Model
Versão do Assembly: 1.0.0.0
Versão do Win32: 1.0.0.0
Base de Código: file:///C:/Program%20Files%20(x86)/Action%20Modulers/MOHID%20Studio/MohidWater.Plugin.Model.DLL
----------------------------------------
Studio.DAL
Versão do Assembly: 1.0.0.0
Versão do Win32: 1.0.0.0
Base de Código: file:///C:/Program%20Files%20(x86)/Action%20Modulers/MOHID%20Studio/Studio.DAL.DLL
----------------------------------------
mscorlib.resources
Versão do Assembly: 4.0.0.0
Versão do Win32: 4.0.30319.1 (RTMRel.030319-0100)
Base de Código: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_pt-BR_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
DotSpatial.Projections
Versão do Assembly: 1.0.2011.52
Versão do Win32:
Base de Código: file:///C:/Program%20Files%20(x86)/Action%20Modulers/MOHID%20Studio/DotSpatial.Projections.DLL
----------------------------------------
System.xml.resources
Versão do Assembly: 4.0.0.0
Versão do Win32: 4.0.30319.1 built by: RTMRel
Base de Código: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.resources/v4.0_4.0.0.0_pt-BR_b77a5c561934e089/System.Xml.resources.dll
----------------------------------------
1qj1fldx
Versão do Assembly: 1.0.0.0
Versão do Win32: 4.0.30319.1001 built by: RTMGDR
Base de Código: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
Castle.Core
Versão do Assembly: 1.1.0.0
Versão do Win32: 1.1.0.0
Base de Código: file:///C:/Program%20Files%20(x86)/Action%20Modulers/MOHID%20Studio/Castle.Core.DLL
----------------------------------------
Castle.DynamicProxy2
Versão do Assembly: 2.1.0.0
Versão do Win32: 2.1.0.0
Base de Código: file:///C:/Program%20Files%20(x86)/Action%20Modulers/MOHID%20Studio/Castle.DynamicProxy2.DLL
----------------------------------------
DynamicProxyGenAssembly2
Versão do Assembly: 0.0.0.0
Versão do Win32: 2.1.0.0
Base de Código: file:///C:/Program%20Files%20(x86)/Action%20Modulers/MOHID%20Studio/Castle.DynamicProxy2.dll
----------------------------------------
ISymWrapper
Versão do Assembly: 4.0.0.0
Versão do Win32: 4.0.30319.1 (RTMRel.030319-0100)
Base de Código: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/ISymWrapper/v4.0_4.0.0.0__b03f5f7f11d50a3a/ISymWrapper.dll
----------------------------------------
Accessibility
Versão do Assembly: 4.0.0.0
Versão do Win32: 4.0.30319.1 built by: RTMRel
Base de Código: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
HDF5DotNet
Versão do Assembly: 1.0.4143.33195
Versão do Win32:
Base de Código: file:///C:/Program%20Files%20(x86)/Action%20Modulers/MOHID%20Studio/HDF5DotNet.DLL
----------------------------------------

************** Depuração JIT **************
Para habilitar a depuração just-in-time (JIT), o arquivo .config deste
aplicativo ou computador (machine.config) deve ter o valor
jitDebugging definido na seção system.windows.forms.
O aplicativo também deve ser compilado com a depuração
habilitada.

Por exemplo:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

Quando a depuração JIT está habilitada, qualquer exceção sem tratamento
será enviada ao depurador JIT registrado no computador,
em vez de ser tratada nesta caixa de diálogo.

frank.maretec@ist.utl.pt
MOHID Guru
Posts: 151
Joined: Thu Jan 01, 1970 00:00
Location: Technical University of Lisbon
Contact:

Re: System.OutOfMemoryException when loading HDF file as a m

Postby frank.maretec@ist.utl.pt » Thu Aug 22, 2013 15:28

Dear Luis,

This is a known bug and it is on our ToDo List:
http://actionmodulers.myjetbrains.com/y ... sue/MS-266

The problem is that MOHID Studio loads everything into memory when you view this type of information.

The file may be only about 1 GB, but it is internally compressed. When loading a new "layer" throughout this information is read into memory, in which case arrows is particularly painful because it is always necessary two arrays (X and Y components). Internally MOHID Studio even caches more arrays. The problem becomes even more serious, if make a reprojection of coordinates is performed (eg viewing over OpenStreet Maps)

We have identified all of these limitations, but still do not get resolved, because the resolution requires an intervention deep in the code. We will not release a new version MOHID Studio without having this error resolved.

Regarding memory is also worth mentioning that the MOHID Studio is still a 32bit application and therefore can not allocate more than 2GB of memory. In the future we plan to launch also a 64-bit version.

For now, the only "workaround" is to decrease the frequency of the output via the keyword OUTPUT_TIME the modules. There are two options:

1. Decrease the frequency, eg
a. OUTPUT_TIME: 0 14400 instead of OUTPUT_TIME: 0 3600
b. Makes output 4pm at 4pm instead of 1pm 1pm.
2. "Delay" time of the first output if the period has run spinup
a. OUTPUT_TIME: 864000 3600
b. Makes the first output after 10 days of simulation, after 1h 1h in

You should avoid displaying this type of information on a different coordinate system then the normal MOHID-HDF (most times geographic-wgs84).

We apologize for this mistake and will try to resolve it as soon as possible.

Best regards,
Frank
In order to understand recursivity you must first understand recursivity.

garbossa@gmail.com
MOHID Beginner
Posts: 12
Joined: Thu Jan 01, 1970 00:00

Re: System.OutOfMemoryException when loading HDF file as a m

Postby garbossa@gmail.com » Thu Aug 22, 2013 20:50

Thanks for the answer!


Return to “MOHID Studio”

Who is online

Users browsing this forum: No registered users and 1 guest