[Mono-dev] Mono runs out of trampolines in FullAOT-mode

Robert Jordan robertj at gmx.net
Thu Jan 12 11:26:59 UTC 2012

On 12.01.2012 12:18, Martin Däumler wrote:
> Hello,
> I tested Mono- on Linux/x86. In my test program [1],
> there is an interface defining 1000 methods. This interface
> is implemented by two classes. When running the program, one
> of these two class is chosen and the 1000 methods are called
> through the interface. All works fine in JIT- and AOT mode.
> In FullAOT-mode, however, Mono aborts with
> "Ran out of trampolines of type 0 in '/usr/local/lib/mono
> /2.0/mscorlib.dll' (1024)"

Try this:

mono --aot=ntrampolines=8192 ...


More information about the Mono-devel-list mailing list