全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
6484 10
2014-03-07
   我在stata中用append命令合并两个数据,一个438MB,一个406MB,命令如下
use 1.data
append using 1.data
    出现了如下错误:
      op. sys. refuses to provide memory
    Stata's data-storage memory manager has already allocated 1600m bytes and it just attempted to allocate another 16m bytes.  The
    operating system said no.  Perhaps you are running another memory-consuming task and the command will work later when the task
    completes.  Perhaps you are on a multiuser system that is especially busy and the command will work later when activity quiets down.
    Perhaps a system administrator has put a limit on what you can allocate; see help memory.  Or perhaps that's all the memory your
    computer can allocate to Stata.
r(909);
我将stata的memory设置成3.5g,运行的时候还是出现这个错误,请问是什么原因呢?能有什么解决的办法吗?
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2014-3-7 21:51:11
Maybe you are using 32bit STATA?  you need to use 64vit or drop some variables before appending.
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2014-3-8 08:13:22
jjjj6666 发表于 2014-3-7 21:51
Maybe you are using 32bit STATA?  you need to use 64vit or drop some variables before appending.
我也用64位系统试了一下,并把stata的memory扩大到3.9g,还是出现上述错误,现在是不是只能删除些变量了?
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2014-3-8 08:23:51
用stata12.1以上的版本的stata

电脑内存足够大
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2014-3-8 09:30:43
蓝色 发表于 2014-3-8 08:23
用stata12.1以上的版本的stata

电脑内存足够大
好的!谢谢!!
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2014-3-8 09:32:10
if using 64bit, increase memory maybe the only way, otherwise, drop the not needed variables.  the memory is not expensive.
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

点击查看更多内容…
相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群