[Rd] How to debug: Cons memory exhausted

From: Saptarshi Guha <saptarshi.guha_at_gmail.com>
Date: Sun, 20 Jun 2010 11:15:45 -0400


Hello,
I get an error when binary structures from a pipe

'Error: cons memory exhausted (limit reached?)' (but R does not crash)

This is probably due to some bug in my code, but occurs after reading about 85K pairs of RAWSXP objects (each < 20 bytes).

I do not have any explicit calls to malloc/calloc

I'm going through my code and have inserted the (brute force) printf statements
my question is: Does anybody have an advice on debugging this particular error?

Any help will be appreciated
Regards
Saptarshi

        [[alternative HTML version deleted]]



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Sun 20 Jun 2010 - 15:18:17 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 24 Jun 2010 - 22:21:27 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive