Hey all, So, my problems may seem tenfold, but here we go. Our company was having memory issues because the address space isn't big enough on 32bit. Our app can easily eat more than 2-4gb of memory because of some of the heavy computations we use are on VERY large sets of data. In both .NET and Mono, this would cause an out of memory exception to be thrown externally and the program just shuts down. On windows, this problem was solved by building the code for a 64bit processor with Visual Studio 2005. We hacked the code up real quick and used a trial version. We bought Visual Studio 2005 to help make that more permanent. Long story short:
Code compiled from VS2005 does not run under mono. It says that it cannot open the assembly (Main executable). The same mono version will run other apps compiled with our old VS2003. Is there some configuration option I'm missing? What else can I do to troubleshoot it to at least see what's wrong? My environment: Linux: RHEL 4 (guest) running under VMWare workstation 6 Mono JIT compiler version 1.2.5, /trunk/ r84470 MoMA report for 1.2.4 compatibility showed no errors and did not complain that it wasn't a valid .NET assembly All .dll and .exe have rx permissions. Windows: VS2005 Compiling for Any CPU (x64 failed so I changed it hoping that would work. NOPE). No DEBUG/TRACE constants defined. code NOT optimized. I've tried forcing the runtime to use 2.0 with --runtime=v2.0.50727 (the output below is with that option. Same results without). I've tried the MONO_LOG_LEVEL and --trace options. Neither really show anything. Output below: Mono-INFO: Assembly Loader probing location: '/home/rengeo/RenegadeGeophysic s/SeismicStudioLinux/mono/lib/mscorlib.dll'. Mono-INFO: Assembly Loader probing location: '/home/rengeo/RenegadeGeophysics/SeismicStudioLinux/mono/lib/mono/2.0/mscorlib.dll'. Mono-INFO: Image addref mscorlib 0x718c90 -> /home/rengeo/RenegadeGeophysics/SeismicStudioLinux/mono/lib/mono/2.0/mscorlib.dll 0x715400: 2 Mono-INFO: AOT failed to load AOT module /home/rengeo/RenegadeGeophysics/SeismicStudioLinux/mono/lib/mono/2.0/mscorlib.dll.so: /home/rengeo/RenegadeGeophysics/SeismicStudioLinux/mono/lib/mono/2.0/mscorlib.dll.so: cannot open shared object file: No such file or directory Mono-INFO: Assembly Loader loaded assembly from location: '/home/rengeo/RenegadeGeophysics/SeismicStudioLinux/mono/lib/mono/2.0/mscorlib.dll'. Mono-INFO: Config attempting to parse: '/home/rengeo/RenegadeGeophysics/SeismicStudioLinux/mono/lib/mono/2.0/mscorlib.dll.config'. Mono-INFO: Config attempting to parse: '/home/rengeo/RenegadeGeophysics/SeismicStudioLinux/mono/etc/mono/assemblies/mscorlib/mscorlib.config'. Mono-INFO: Config attempting to parse: '/home/rengeo/.mono/assemblies/mscorlib/mscorlib.config'. Mono-INFO: Assembly mscorlib 0x718c90 added to domain SeismicStudio.exe, ref_count=1 Mono-INFO: Config attempting to parse: '/home/rengeo/RenegadeGeophysics/SeismicStudioLinux/mono/etc/mono/config'. Mono-INFO: Config attempting to parse: '/home/rengeo/.mono/config'. Mono-INFO: Assembly Loader probing location: '/home/rengeo/RenegadeGeophysics/SeismicStudioLinux/SeismicStudio1.3.3/SeismicStudio.exe'. Mono-INFO: Unloading image /home/rengeo/RenegadeGeophysics/SeismicStudioLinux/SeismicStudio1.3.3/SeismicStudio.exe [0x7826c0]. Cannot open assembly /home/rengeo/RenegadeGeophysics/SeismicStudioLinux/SeismicStudio1.3.3/SeismicStudio.exe. Mono-INFO: Unloading domain SeismicStudio.exe 0x2a983d2e00, assembly mscorlib 0x718c90, refcount=1 Mono-INFO: Unloading assembly mscorlib [0x718c90]. Mono-INFO: Unloading image /home/rengeo/RenegadeGeophysics/SeismicStudioLinux/mono/lib/mono/2.0/mscorlib.dll [0x715400]. [EMAIL PROTECTED] bin]$ Thank you for any help! Eric Morgan Renegade Geophysics
_______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
