Ran out of trampolines of type 0

I'm writing an app for the Iphone using Monotouch. When I deploy the application on my iphone I get the error at runtime Thu Mar 10 23:38:36 unknown UIKitApplication:com.xxx[0x57b4][258]

<Notice>: Ran out of trampolines of type 0 in '/private/var/mobile/Applications/6104C1ED-5D11-4871-B011-91C23C8D6C83/

In the past I got the same error but for type 1 and type 2. I was able to fix that problem with the following argument in the compiler.

-aot "nrgctx-trampolines=4048" -aot "nimt-trampolines=4048"

I wanted to know what is the equivalent for the type 0 reported above or how to address error

-------------Problems Reply------------

Type 0 are method trampolines. The parameter you want is

-aot "ntrampolines=4048"

From the mono man pages:

ntrampolines=[number] When compiling in full aot mode, the method trampolines must be precreated in the AOT image. You can add additional method trampolines with this argument. Defaults to 1024.

Alchemy already provided a good answer (upvote for that), I just want to sum up the different types and their default values.

Mono trampolines:

  • type 0 (generic methods?): -aot "ntrampolines=xxxx" (default: 1024)
  • type 1 (recursive generics): -aot "nrgctx-trampolines=xxxx" (default: 1024)
  • type 2 (interfaces): -aot "nimt-trampolines=xxxx" (default: 128)

source: http://www.kurokatta.org/grumble/2012/02/out-of-trampolines

Category:iphone Views:1 Time:2011-03-11

Related post

  • MonoTouch SIGABRT "Ran out of trampolines of type 2" error 2012-02-19

    I get a SIGABRT / ran out of trampolines error when running my MonoTouch app on a native device (iPad). This happens pretty early in my app - I'm constructing a section using MonoTouch.Dialog. ItemTypeRadio = new RootElement ("Type", new RadioGroup (

  • MonoDevelop settings to fix "ran out of trampolines type 2" error 2011-04-08

    we are developing an iOS app. When we tested the app on PC, everything works well but when we ran it on a iPad/iPhone4 we frequently receive the "Ran out of Trampolines type 2" error message and the app crash. We have been spending the last few days

  • How to profile Monotouch to see count of trampolines (by type) being created at runtime? 2011-11-11

    There are quite a few posts regarding type 0, type 1 and type 2 trampolines and the runtime error of "ran out of trampolines" on iOS devices. I've got a good understanding of how to increase the number of the different trampoline types during the AOT

  • Sequel migration ran in heroku yields postgres type error 2011-01-31

    For some reason when I run my migrations in Heroku Sequel tries to create a row as string instead of varchar: PGError: ERROR: type "string" does not exist (Sequel::DatabaseError) LINE 1: ...erial PRIMARY KEY, "facebook_id" integer, "email" string(50)

  • Crash on device during a declare of ClientBase 2011-12-14

    I try to invoke a wcf web service in my MonoTouch application. On simulator all is working great. On device I received the error: EXC_CRASH (SIGABRT) I generate my proxy class using the tool: SlSvcUtil.exe "C:\Program Files (x86)\Microsoft SDKs\Silve

  • Reduce the amount of trampolines type 2 used 2011-05-02

    we are developing a iOS app using Unity3D and we have run into the "Ran out of trampolines type 2 error" all the time. Since Unity doesn't allow use to adjust the trampoline limit, so we have to reduce the amount of trampoline used. So far, we have d

  • Will non-IE browsers use script inside a tag with type="text/jscript"? 2011-08-03

    I inherited an ancient codebase that includes pages with <script type="text/jscript"> -- yes, my life really does suck that much. The script appears to do nothing in modern, decent browsers (FF and Chrome, for a start) and I'm wondering if the

  • I am unable to type in word 2012-05-29

    I am unable to type in microsoft office word proccesor. i am able to type with the numeric pad, but all leters, the numbers above the letters and the spacebar do not work (any other programs they work) the backspace does work. I am using microsoft xp

  • OpenCV: Why are my Mat types mismatched for matchTemplate? 2014-09-16

    I'm using the Java version of OpenCV. I need to do a matchTemplate operation to find targets within an image. When I run my code, I get an error where an assertion failed, saying imgType == tmptype was false. As a diagnostic operation I ran S.o.p(src

  • Stack overflows from deep recursion in Java? 2009-05-13

    After some experience with functional languages, I'm starting to use recursion more in Java - But the language seems to have a relatively shallow call stack of about 1000. Is there a way to make the call stack bigger? Like can I make functions that a

  • Having troubles calling a Controller Post Method 2009-06-28

    Here's my method [AcceptVerbs(HttpVerbs.Post)] public void SaveImage(FormCollection formValues) { byte[] contents = Convert.FromBase64String(Request.Form["file"]); System.IO.File.WriteAllBytes(Server.MapPath(Request.Form["name"]), contents); } It is

  • Compile PHP Error with freetype 2010-05-01

    I configured PHP myself, included all of the libraries I needed... but then realized I forgot the freetype library. So I went back to my php-5.3.2 directory and ran ./configure '--with-free-type=/usr/local/lib' PHP did the configure fine, no errors.

  • Anonymous JavaScript function for global abatement 2010-11-01

    I've run across some strangeness in JavaScript syntax that I don't understand. I was trying to use a single anonymous global function for global abatement, like this: <script type="text/javascript"> function() { alert("all code goes here"); }()

  • Print ASCII line art characters in C# console application 2010-12-22

    I would like to have a C# console application print the extended ASCII Codes from http://www.asciitable.com/. In particular I am looking at the line art characters: 169, 170, 179-218. Unfortunately when I tried, I ended up getting 'Ú' for 218 and exp

  • JQuery .wrap is triggering .ready a second time 2011-03-31

    For the first time ever I've not been able to find an answer to a question here. So, I'm sure I'll need to take a noob lashing, but here goes: For IE7/8 only, I'm trying to wrap a div around my main container which will be used to render a fake shado

  • Undefined reference C++ 2011-06-08

    I'm just learning C++ and I'm trying to compile my first legit program that I'm converting from Java (I ran a test hello world type program to check my compiler and it works). There are three files: main.cpp #include <iostream> #include "skewNo

  • MySQL replace parent name with parent id 2011-06-24

    I have a Table (t) like this t.Name t.Parent t.Id John Bob 1 Frank Bob 2 Alice Frank 3 Tim John 4 Lucy Bob 5 Tim Frank 6 ... Now I want to replace the t.Parent string with the Id of the parent. Is there any way of going about this in MySQL or is the

  • The tag "xxx" does not exist in XML namespace"yyy" / Reference could not be found 2011-06-26

    I have a winform usercontrol than I want to add to wpf project. I added the relevant references (WindowsFormsIntegration, SystemWindowsForms and my user control dll) and added this row in my XAML: xmlns:MyControl="clr-namespace:xx.xx.xx;assembly=xx.x

  • How to declare a record such that one of its fields is a function 2011-09-19

    I'm very new to Z3, so sorry for asking something silly. I'm trying to define a record such that some of its fields are functions. I tried this: (declare-datatypes (DOM RAN) ((PFun (mk-pfun (dom (DOM) Bool) (law (DOM) RAN))))) with the intention that

Copyright (C) dskims.com, All Rights Reserved.

processed in 0.166 (s). 11 q(s)