Hello Jim,

I already use “.xls” for the loading, but still have the memory issue….

Thanks,

Rebecca


From: jim holtman [mailto:jholt...@gmail.com]
Sent: Monday, February 02, 2015 10:21 AM
To: Jeff Newmiller
Cc: Yuan, Rebecca; R help (r-help@r-project.org)
Subject: Re: [R] Error: OutOfMemoryError (Java): GC overhead limit exceeded

On the off-chance, are you using XLConnect or xlsx packages that are using Java 
to access the spreadsheets?  If it is XLConnect, are you access the '.xlsx' 
style workbooks?  If so, can you try using '.xls' workbooks?  This is a problem 
that I have had; the '.xlsx' workbooks take a lot more resources (CPU and 
memory) to process.

A little more information like what your sessionInfo is would help a lot in 
responding to your problem.


Jim Holtman
Data Munger Guru

What is the problem that you are trying to solve?
Tell me what you want to do, not how you want to do it.

On Mon, Feb 2, 2015 at 9:27 AM, Jeff Newmiller 
<jdnew...@dcn.davis.ca.us<mailto:jdnew...@dcn.davis.ca.us>> wrote:
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:<jdnew...@dcn.davis.ca.us<mailto:jdnew...@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.y...@bankofamerica.com<mailto:rebecca.y...@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@r-project.org<mailto:R-help@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.

______________________________________________
R-help@r-project.org<mailto:R-help@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.


----------------------------------------------------------------------
This message, and any attachments, is for the intended recipient(s) only, may 
contain information that is privileged, confidential and/or proprietary and 
subject to important terms and conditions available at 
http://www.bankofamerica.com/emaildisclaimer.   If you are not the intended 
recipient, please delete this message.

        [[alternative HTML version deleted]]

______________________________________________
R-help@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.

Reply via email to