[Mono-list] Mono throws "OutOfMemoryException" on Linux but Visual Studio does not on Windows
William Ivanski
william.ivanski at gmail.com
Thu Oct 1 20:20:28 UTC 2015
What are the version of Mono you are using on Linux?
William Ivanski
2015-10-01 16:34 GMT-03:00 Mohamadsoltani <soltani at ualberta.ca>:
> Hi all,
>
> I need to run my C#-based code on a server with Linux. I am using Visual
> Studio on my pc, but now I should switch to mono on the server.
> I have tried to test my code by running a single job with mono. But there
> is
> a strange problem. When I run my code by directly using Visual Studio on my
> pc, everything is working well. Surprisingly, when I try the same thing on
> Linux, an "OutOfMemoryException" happens when the code is in a line to
> generate an array. The size of this array is (6,156 * 24,624), which is
> totally fine! I have arrays with similar size earlier in my code, and there
> is no "OutOfMemoryException" for them.
>
> I would be grateful if anyone can help me to understand what is the main
> reason for this issue and how can I handle it?
>
>
>
> --
> View this message in context:
> http://mono.1490590.n4.nabble.com/Mono-throws-OutOfMemoryException-on-Linux-but-Visual-Studio-does-not-on-Windows-tp4666669.html
> Sent from the Mono - General mailing list archive at Nabble.com.
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20151001/1657b97d/attachment.html>
More information about the Mono-list
mailing list