From randy.cs.lai at gmail.com  Sat Mar 29 09:12:32 2014
From: randy.cs.lai at gmail.com (Randy Lai)
Date: Sat, 29 Mar 2014 01:12:32 -0700
Subject: [Rd] Error: C stack usage is too close to the limit
In-Reply-To: <CAPSN_LUYkKv42YecOApxQwKZu7mNNBOWP4sgBO=0JHzQDzHS8g@mail.gmail.com>
References: <CAPSN_LUYkKv42YecOApxQwKZu7mNNBOWP4sgBO=0JHzQDzHS8g@mail.gmail.com>
Message-ID: <80195E5E-FBA4-472A-A161-C0286CC134A0@gmail.com>

I have similar experience previously. What I done was disabling stack limit checking
    
    R_CStackLimit = -1;

and increasing the stack size to .16*1024*1024.

Hope it helps.

Randy

On Mar 28, 2014, at 2:55 PM, Florian Burkart <florian.burkart at gmail.com> wrote:

> Hi,
> 
> I have been using my own C++ plugin for a while.
> 
> On a new machine I now keep getting the
> 
> C stack usage is too close to the limit
> 
> error. I played with it and it appears to come after I printed a fixed
> number of text to R via Rprintf (not from the main thread).
> 
> Didn't happen on the old machine. Old version was 2.14. Now on 3.0.3.
> 
> Not sure whats going on.
> 
> Florian
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel



[Rd] Error: C stack usage is too close to the limit
Randy Lai