search for: e_nomem

Displaying 1 result from an estimated 1 matches for "e_nomem".

2011 Jun 03
2
Arules: R Crashes when running eclat with tidLists=TRUE
...--------------------*/ static void _report_R (int *ids, int cnt, int supp, int *tal, void *data) { (...) if (flags & OF_LIST) { vec1 = (int*)realloc(ruleset->trnb, size1 *sizeof(int)); if (!vec1) { if (vec) free(vec); if (vec2) free(vec2); _cleanup(); error(msg(E_NOMEM));} ruleset->trnb = vec1; } (...) if (flags & OF_LIST) { /* if to list the transactions, */ h = ruleset->trtotal; if (supp < 0) { /* if bit vector representation */ for (i = 0; i < tacnt; i++) { /* traverse the bit vector */ if (h >= s...