[R] Error: OutOfMemoryError (Java): GC overhead limit exceeded

Jeff Newmiller jdnewmil at dcn.davis.CA.us
Mon Feb 2 15:27:58 CET 2015


The memory issue is in Java, not R.

You can either be more parsimonious in your use of Java memory (we have no idea what you are doing with it here, so how you do that is up to you), or you can allocate more memory to Java (you may be able to guess how to do that, or read the Java documentation on the X parameter).
---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
--------------------------------------------------------------------------- 
Sent from my phone. Please excuse my brevity.

On February 2, 2015 5:43:50 AM PST, "Yuan, Rebecca" <rebecca.yuan at bankofamerica.com> wrote:
>Hello all,
>
>When I met this following error message:
>
>Error: OutOfMemoryError (Java): GC overhead limit exceeded
>
>I usually use the following options to overcome the memory limit:
>
>options(java.parameters = "-Xmx1024m") # to reduce the error message
>"Error: OutOfMemoryError (Java): GC overhead limit exceeded"
>
>However, this seems not working any more, is there any other way to
>help avoiding the memory error issue in R?
>
>Thanks very much!
>
>Cheers,
>
>Rebecca
>
>
>
>20
>
>----------------------------------------------------------------------
>This message, and any attachments, is for the intended
>r...{{dropped:5}}
>
>______________________________________________
>R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>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.



More information about the R-help mailing list