Re: [Mono-dev] MAXHINCR or MAX_HEAP_SECTS error

2014-07-11 Thread lucas_max
Hi guys I just want to say that after run my app for some hours, and reserving more than 40G, the app shows the same error. I think that in this cases, is better to dump part of the ram to disk and to upload only the required part of code to ram again. Is slower, but I think is the better

Re: [Mono-dev] MAXHINCR or MAX_HEAP_SECTS error

2014-07-10 Thread lucas_max
Hi guys Thanks to everyone for the help that you have gave me I have made the changes in my machine, and now the app is running. Im allocating more than 4G and the app does not crashes, til the moment. I have removed the old mono installation (all files), later I updated and recompiled mono

Re: [Mono-dev] MAXHINCR or MAX_HEAP_SECTS error

2014-07-09 Thread lucas_max
Hi guys I have done the next: I have recompiled mono in my linux machine, using the options ./configure --with-gc=none --with-large-heap=yes --with-sge=yes --prefix=/opt/mono-3.0.2 make make install but the error still appears. I have been googling and I have found this ...Put crash-prone

Re: [Mono-dev] MAXHINCR or MAX_HEAP_SECTS error

2014-07-09 Thread Timotheus Pokorra
Hello Lucas, ./configure --with-gc=none --with-large-heap=yes --with-sge=yes --prefix=/opt/mono-3.0.2 make make install Since you installed your version of Mono to a different directory, you need to set your path and other environment variables to that directory. You need to do this each

Re: [Mono-dev] MAXHINCR or MAX_HEAP_SECTS error

2014-07-08 Thread lucas_max
Hi Brandon Perry-3 Brandon Perry-3 wrote You need to recompile mono from source. No idea how to do that on windows. Do you know how to do that in linux? thanks -- View this message in context: http://mono.1490590.n4.nabble.com/MAXHINCR-or-MAX-HEAP-SECTS-error-tp4663252p4663262.html Sent

Re: [Mono-dev] MAXHINCR or MAX_HEAP_SECTS error

2014-07-08 Thread Francis Fisher
On 08/07/14 10:41, lucas_max wrote: Hi Brandon Perry-3 Brandon Perry-3 wrote You need to recompile mono from source. No idea how to do that on windows. Do you know how to do that in linux? Start here: http://mono-project.com/Compiling_Mono ___

Re: [Mono-dev] MAXHINCR or MAX_HEAP_SECTS error

2014-07-08 Thread lucas_max
Hi guys Thanks for the information. I have another question: That means I need compile mono in each machine where Im going to run the app? or I can create the exe file with a modified version of mono, and later run this app on an any machine with out have this problem? thanks again -- View

Re: [Mono-dev] MAXHINCR or MAX_HEAP_SECTS error

2014-07-08 Thread Rafael Teixeira
Every machine will need a version of mono compiled with that option, to be able to run properly your exe. That option is not turned on by default, because it impacts negatively elsewhere in the system for most applications, outweighing the benefits it brings to applications with your kind of

Re: [Mono-dev] MAXHINCR or MAX_HEAP_SECTS error

2014-07-08 Thread Greg Young
Another option is to distribute with your application (eg dynamic/static linking) with the appropriate settings to the custom built version this is not too hard to do see mkbundle On Tue, Jul 8, 2014 at 5:46 PM, Rafael Teixeira mono...@gmail.com wrote: Every machine will need a version of mono

Re: [Mono-dev] MAXHINCR or MAX_HEAP_SECTS error

2014-07-08 Thread Greg Young
note: there are license restrictions involved with static linking ... On Tue, Jul 8, 2014 at 5:50 PM, Greg Young gregoryyou...@gmail.com wrote: Another option is to distribute with your application (eg dynamic/static linking) with the appropriate settings to the custom built version this is

Re: [Mono-dev] MAXHINCR or MAX_HEAP_SECTS error

2014-07-08 Thread lucas_max
Hi guys thanks to everyone for the answers. 1. I have downloaded and compile mono with the option ./configure --prefix=$PREFIX --with-large-heap=yes but, when I run the app, I get the same error. 2. I have used the mkbundle command as say Greg Young, but the error persist. now, im using

Re: [Mono-dev] MAXHINCR or MAX_HEAP_SECTS error

2014-07-08 Thread Greg Young
My solution was just to the recompiling part on every machine not to your original problem On Tue, Jul 8, 2014 at 6:47 PM, lucas_max lucas_max2...@yahoo.es wrote: Hi guys thanks to everyone for the answers. 1. I have downloaded and compile mono with the option ./configure --prefix=$PREFIX

[Mono-dev] MAXHINCR or MAX_HEAP_SECTS error

2014-07-07 Thread lucas_max
Hi guys Im have installed mono in a server with linux. This server has 256GB de ram and some processors. I have a simulator which have been development in c#. when I run this app, Im allocating memory (Listbool or with my name booleanArray) until the point that I get the message Too many heap

Re: [Mono-dev] MAXHINCR or MAX_HEAP_SECTS error

2014-07-07 Thread Brandon Perry
You should try to compile mono from source passing --with-large-heap to configure. Sent from a computer On Jul 7, 2014, at 12:39 PM, lucas_max lucas_max2...@yahoo.es wrote: Hi guys Im have installed mono in a server with linux. This server has 256GB de ram and some processors. I have

Re: [Mono-dev] MAXHINCR or MAX_HEAP_SECTS error

2014-07-07 Thread lucas_max
Hello Brandon Perry-3 Thanks for your prompt answer. In writing my code in windows with vs .net or xamarin. could you tell me where I have to specify this option to compile with --with-large-heap. Thanks -- View this message in context:

Re: [Mono-dev] MAXHINCR or MAX_HEAP_SECTS error

2014-07-07 Thread Brandon Perry
You need to recompile mono from source. No idea how to do that on windows. Sent from a computer On Jul 7, 2014, at 1:25 PM, lucas_max lucas_max2...@yahoo.es wrote: Hello Brandon Perry-3 Thanks for your prompt answer. In writing my code in windows with vs .net or xamarin. could you

Re: [Mono-dev] MAXHINCR or MAX_HEAP_SECTS error

2014-07-07 Thread Alex J Lennon
On 07/07/2014 19:36, Brandon Perry wrote: You need to recompile mono from source. No idea how to do that on windows. Sent from a computer This is a starting point for 3.4.0 on Windows and probably still works for the upcoming 3.6.x in the repo,