How to increase memory limit in R
0
0
Entering edit mode
7.6 years ago

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

software error • 2.1k views
ADD COMMENT
1
Entering edit mode

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 REPLY
0
Entering edit mode

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 REPLY
0
Entering edit mode

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

ADD REPLY
0
Entering edit mode

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 REPLY

Login before adding your answer.

Traffic: 2675 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6