[Mono-dev] MAXHINCR or MAX_HEAP_SECTS error

lucas_max lucas_max2002 at yahoo.es
Mon Jul 7 17:39:11 UTC 2014


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 (List<bool> or with my name
"booleanArray") until the point that I get the message

Too many heap sections: Increase MAXHINCR or MAX_HEAP_SECTS
Stacktrace:

  at (wrapper managed-to-native)
object.__icall_wrapper_mono_array_new_specific (intptr,int) <0x00048>
  at (wrapper managed-to-native)
object.__icall_wrapper_mono_array_new_specific (intptr,int) <0xffffffff>
  at System.Collections.Generic.List`1<bool>..ctor (int) <0x00023>
  at Core.booleanArray..ctor (int,bool) <0x0001f>
  at Core.NodePort.MyInit () <0x0018f>
  at Core.NodePort..ctor (byte,Core.Node,Core.Type_NodePort) <0x00047>
  ...  ...  ...

I have been "googling" and in many sites there are similar info about this
error, but none of this sites says how to solve this problem.

Can somebody tell me how can I solve this problem?
Thanks

PD: this is the info that I get with the mono --version command


Mono JIT compiler version 2.4.3.1 (tarball Fri Jul 13 12:11:28 UTC 2012)
Copyright (C) 2002-2008 Novell, Inc and Contributors. www.mono-project.com
	TLS:           __thread
	GC:            Included Boehm (with typed GC)
	SIGSEGV:       altstack
	Notifications: epoll
	Architecture:  amd64
	Disabled:      none





--
View this message in context: http://mono.1490590.n4.nabble.com/MAXHINCR-or-MAX-HEAP-SECTS-error-tp4663252.html
Sent from the Mono - Dev mailing list archive at Nabble.com.


More information about the Mono-devel-list mailing list