Janet Choate-2 wrote: > > Hi R community, > i have what appears to be a memory allocation problem: > > R(51150) malloc: *** mmap(size=158068736) failed (error code=12) > *** error: can't allocate region > *** set a breakpoint in malloc_error_break to debug > > can anyone tell me how to increase the memory size for R on mac os X? > > thank you, > Janet >
Setting memory limits was something that was done under OS 9- with OS X apps get as much memory as they request as long as free space is available. Also, when R runs out of memory, you usually see errors like: Cannot allocate vector of size X Some details may help pin this problem down: what were you doing when you got this error? Is it repeatable? Is it an error with a base R routine or with something provided by a package? If so, what version? Providing these details will help the people on this list understand what your problem is and suggest solutions. Good luck! -Charlie ----- Charlie Sharpsteen Undergraduate-- Environmental Resources Engineering Humboldt State University -- View this message in context: http://n4.nabble.com/memory-error-tp1747357p1747558.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.