尽管在我的系统,具有可从内存在研发访问更多的内存被阻止 [英] Blocked from accessing more memory in R despite having available memory in my system

查看:583
本文介绍了尽管在我的系统,具有可从内存在研发访问更多的内存被阻止的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想用code,我发现在计算器(<一个访问更大的内存href="http://stackoverflow.com/questions/1395229/increasing-the-memory-available-to-r-processes">Increasing可于R进程的内存的)。不过,我得到了下面的错误,我一直没能解决:

I am trying to access more memory using code I found in stackoverflow (Increasing the memory available to R processes). However, I get the following error which I haven't been able to resolve:

memory.limit(10000)

Error in memory.limit(10000) : 
don't be silly!: your machine has a 4Gb address limit

R的告诉我,我有一个4GB的地址限制(尽管我在与16GB的RAM一个64位操作系统)。任何人都知道如何解决这个问题?

R is telling me that I have a 4gb address limit (despite the fact that I'm on a 64bit OS with 16gb of RAM). Anyone know how to get around this?

Windows操作系统:Windows 7企业版,英特尔(R)酷睿(TM)i7-2600 CPY @ 3.40GHz

Windows OS: Windows 7 Enterprise, Intel(R) Core(TM) i7-2600 CPY @3.40GHz

安装的内存(RAM):16.0GB

Installed Memory (RAM): 16.0GB

系统类型:64位操作系统

System type: 64 bit OS

研究版本:3.0.0 RStudio版本:0.97.551

R Version: 3.0.0 RStudio Version: 0.97.551

推荐答案

我从来没有使用R,但与快速搜索我碰到 memory.limit()文档( 这里

I never used R, but with a quick search I came across memory.limit()documentation (here)

我引述如下:

memory.limit(大小= NA)   大小:数字。如果不适用报告的内存大小,否则申请一个新的限制,以Mb。

memory.limit(size = NA) size : numeric. If NA report the memory size, otherwise request a new limit, in Mb.

10.000 MB = 10 GB,因此错误。

10.000 MB = 10 GB, hence the error.

关于64位的问题,它可能会从研发本身(取决于虚拟机版本我猜的)。

About the 64-bit problem, it may come from R itself (depending on the virtual machine version I guess).

这篇关于尽管在我的系统,具有可从内存在研发访问更多的内存被阻止的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆