Question: How to increase memory limit in R
0
gravatar for rafatali421
17 months ago by
rafatali4210 wrote:

Error: cannot allocate vector of size 36.8 Gb the message showing during .CEL files (microarray data) analysis in R

software error • 674 views
ADD COMMENTlink written 17 months ago by rafatali4210
1

You may use memory.limit but if you do not have enough memory that suits huge vector as I see then you need to:
Buy more rams.

ADD REPLYlink modified 17 months ago • written 17 months ago by Medhat8.2k

More RAM would certainly help. R has other limits that you may additionally hit, though.

To the OP (original poster):

  • Are you using a 32- or 64-bit machine?; which OS?; What RAM have you got available?
  • If you're desperate, you could increase your Virtual Memory limit, but you'll be dragging your system down in a big way by going that route.
  • If you're based at a university and are using a supercompute cluster, then ask your admin how you could potentially run the job. We're not local IT here.
ADD REPLYlink modified 17 months ago • written 17 months ago by Kevin Blighe42k

Good point specially If you bought RAM while you have 32-bit machine.

ADD REPLYlink written 17 months ago by Medhat8.2k

Hello rafatali421

You need to specify details on the resources you have, what your problem exactly is, as well as what you've tried. Please read this article to understand how to ask questions better.

Please elaborate on your question and provide feedback to people responding to it.

ADD REPLYlink written 17 months ago by RamRS21k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1209 users visited in the last hour