Jump to content

Sign in to follow this  
Guest Maxulli

XEngine Message: 'System.OutOfMemoryException'

Recommended Posts

Guest Maxulli

Hello, weather experts,When I try to download histocal weather data from a selected date within ASX, the ASX Log file shows me the same error message as Allan has desribed here: thread #33176, "RAM spike exceeding 1.3 Gigs".However, I cannot see any RAM spike more than usually expected. His solution as he wrote in this thread will also not work. I'm still looking for a way to avoid this error and to get the selected weather data. However, I also get another error, when I try to save the current weather data to HD. I hope somebody has an idea what I should do.Start ASX, download the weather data, ASX saved the data and generates the weather output file. So far okay. But when I start to save this weather file I get the following error message from the XEngine Message Box:Unhandled exception has occurred in your aplication. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately. Exception of type 'System.OutOfMemoryException' was thrown. The detailed description is:See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.************** Exception Text **************System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown. at System.String.Concat(String str0, String str1) at ASX.FilesDB.Save_Weather_File(String wxfile) at ASX.Main_UI.btn_SaveFile_Click(Object sender, EventArgs e) at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)************** Loaded Assemblies **************mscorlib Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll----------------------------------------XEngine Assembly Version: 1.0.0.325 Win32 Version: 1.0.0.325 CodeBase: file:///D:/Programme/HiFi/XEngine/XEngine.exe----------------------------------------Microsoft.VisualBasic Assembly Version: 8.0.0.0 Win32 Version: 8.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll----------------------------------------System Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll----------------------------------------System.Windows.Forms Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll----------------------------------------System.Drawing Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll----------------------------------------System.Runtime.Remoting Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll----------------------------------------System.Configuration Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll----------------------------------------System.Xml Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.42 (RTM.050727-4200) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll----------------------------------------XEngine_Module_Interface Assembly Version: 1.0.0.221 Win32 Version: 1.0.0.221 CodeBase: file:///D:/Programme/HiFi/XEngine/XEngine_Module_Interface.DLL----------------------------------------XEngine_UI Assembly Version: 0.0.0.235 Win32 Version: 0.0.0.235 CodeBase: file:///D:/Programme/HiFi/XEngine/XEngine_UI.DLL----------------------------------------Utility Assembly Version: 1.0.0.2 Win32 Version: 1.0.0.2 CodeBase: file:///D:/Programme/HiFi/XEngine/Utility.DLL----------------------------------------WorldData Assembly Version: 1.0.0.3 Win32 Version: 1.0.0.3 CodeBase: file:///D:/Programme/HiFi/XEngine/WorldData.DLL----------------------------------------FSInterface Assembly Version: 1.0.0.6 Win32 Version: 1.0.0.6 CodeBase: file:///D:/Programme/HiFi/XEngine/FSInterface.DLL----------------------------------------AvMath Assembly Version: 1.0.0.1 Win32 Version: 1.0.0.1 CodeBase: file:///D:/Programme/HiFi/XEngine/AvMath.DLL----------------------------------------Microsoft.FlightSimulator.SimConnect Assembly Version: 10.0.61242.0 Win32 Version: 10.0.61355.0 (fsx-sp1.20070510-2038) CodeBase: file:///C:/WINDOWS/assembly/GAC_32/Microsoft.FlightSimulator.SimConnect/10.0.61242.0__31bf3856ad364e35/Microsoft.FlightSimulator.SimConnect.dll----------------------------------------ASX Assembly Version: 0.1.0.1056 Win32 Version: 0.1.0.1056 CodeBase: file:///D:/Programme/HiFi/XEngine/Modules/ASX.DLL----------------------------------------HiFiSimControls Assembly Version: 1.1.0.1 Win32 Version: 1.1.0.1 CodeBase: file:///D:/Programme/HiFi/XEngine/HiFiSimControls.DLL----------------------------------------User_FlightPlan Assembly Version: 1.0.0.1 Win32 Version: 1.0.0.1 CodeBase: file:///D:/Programme/HiFi/XEngine/User_FlightPlan.DLL----------------------------------------msvcm80 Assembly Version: 8.0.50727.363 Win32 Version: 8.00.50727.363 CodeBase: file:///C:/WINDOWS/WinSxS/x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.363_x-ww_691a48fd/msvcm80.dll----------------------------------------************** JIT Debugging **************To enable just-in-time (JIT) debugging, the .config file for thisapplication or computer (machine.config) must have thejitDebugging value set in the system.windows.forms section.The application must also be compiled with debuggingenabled.For example:When JIT debugging is enabled, any unhandled exceptionwill be sent to the JIT debugger registered on the computerrather than be handled by this dialog box.When I click Continue, ASX attempts to save the weather again, but nothing else will happen. And I find the current weather only in the 'LastDownloaded.Wx' or 'current_wx_snapshot.txt'. But not in a file with the real date of the download. The ASX Logfile is here: 11:42:57: Logging Initialized11:42:57: XEngine v1.0.0.325 Copyright

Share this post


Link to post
Share on other sites
Guest Maxulli

Problem solved - but I don't know how, hehe.I was looking for a solution for the installation error, when the setup cannot read the FSX DVD 2. In this way I found a hint refering to the Microsoft Knowledge Base, article http://support.microsoft.com/kb/314810/EN-US/ The recommendation was to reduce the sizeof MAXMEM in the boot.ini under advanced options. I reduced the value to 1024 as a first attempt according my installed 2 GB RAM. Reboot and start ASX, downloaded the current weather - then click to save. Saving message appears, wait a minute or two - but no error message. A Moment later the file was stored correctly. Wow, happy now. Anyway, the KB article describes only to reduce the MAXMEM size for the process of installation, then change it back to the original (MAX). But what for ASX? Have I to change the boot.ini for every time to save a weather file? Will look further for a stable solution.Ulli

Share this post


Link to post
Share on other sites
Guest Maxulli

Hi, me again,set back the boot.ini with the original MAXMEM size of 2048 as before, reboot the computer and start the ASX. Guess what happens? Hehe, ASX works fine as it should do! Save the current weather, saved some historical weather data; seems that everything works fine now. Finally I can say it's a really good programm, and worth every cent, even together with the new XGraphics. ThanksUlli

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...