[R-SIG-Finance] gbm.step run out of memory?

thomas.chan.sf at boci-pru.com.hk thomas.chan.sf at boci-pru.com.hk
Wed May 15 11:25:56 CEST 2013


Hi

I used the gbm.step function to perform boosted regression tree analysis
using a PC, which has an Intel i5 CPU (650 @3.20 GHz 3.33 GHz) and 8 GB
RAM.

When I ran it on Rx64 2.15.0, it runs slow but fine. In fact, I can
simultaneously run almost identical scripts in 4 R programs at the same
time without causing any problem other than that it is slow. When I changed
it to Rx3.0.0, even with only one R scripts and nothing else running in the
PC, it soon got stuck and gave this message:

            Microsoft Visual C++ Runtime Library
            This application has required the Runtime to terminate it in an
unusual way. Please contact the application's support team for more
information.

I looked into it and suspect that in Rx64 2.15.0, the R script uses only
one core to run, whereas in Rx3.0.0 it uses all cores and soon runs out of
memory altogether. Could somebody please shed light on this? Is there
anyway to get around it? Thanks.

TC

---------------------------------------------------------------------------------------

Important : The information contained in this e-mail and any attachment thereof is intended only for use of the addressee and is confidential and may be privileged and/or otherwise protected from disclosure. If you are not the intended recipient, you are hereby notified that any use, copying, dissemination or any other action taken or omitted to be taken in reliance upon this information is strictly prohibited. If you have received this communication in error, please notify the sender immediately by reply and delete this message from your system. Any views expressed in this e-mail are those of the individual sender except where the e-mail states otherwise and the sender is authorized to state them to be the views of BOCI-Prudential Asset Management Limited. Unless otherwise stated, any information given in this e-mail shall not be regarded as an offer, solicitation, invitation, advice or recommendation to buy or sell any investment or securities within or outside Hong Kong SAR. Any reference to the terms of executed transactions should be treated as preliminary only and subject to our formal written confirmation.


______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com



More information about the R-SIG-Finance mailing list