[Mono-list] Mono throws "OutOfMemoryException" on Linux but Visual Studio does not on Windows
william.ivanski at gmail.com
Thu Oct 1 20:20:28 UTC 2015
What are the version of Mono you are using on Linux?
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
> 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:
> Sent from the Mono - General mailing list archive at Nabble.com.
> Mono-list maillist - Mono-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-list