MDB Cannot allocate memory

125 views
Skip to first unread message

mao...@gmail.com

unread,
May 29, 2016, 11:01:52 PM5/29/16
to Caffe Users
When I trained my own data, I encountered such a mistake

I0530 10:44:20.484184 16920 layer_factory.hpp:77] Creating layer data
I0530 10:44:20.484549 16920 net.cpp:91] Creating Layer data
I0530 10:44:20.484560 16920 net.cpp:399] data -> data
I0530 10:44:20.484593 16920 data_transformer.cpp:25] Loading mean file from: mydata/mymean.binaryproto
I0530 10:44:20.485349 16925 db_lmdb.cpp:35] Opened lmdb mydata/Train_Data_lmdb
I0530 10:44:20.486474 16920 data_layer.cpp:41] output data size: 1,1,500,500
I0530 10:44:20.487002 16920 net.cpp:141] Setting up data
I0530 10:44:20.487016 16920 net.cpp:148] Top shape: 1 1 500 500 (250000)
I0530 10:44:20.487021 16920 net.cpp:156] Memory required for data: 1000000
I0530 10:44:20.487028 16920 layer_factory.hpp:77] Creating layer data_data_0_split
I0530 10:44:20.487059 16920 net.cpp:91] Creating Layer data_data_0_split
I0530 10:44:20.487066 16920 net.cpp:425] data_data_0_split <- data
I0530 10:44:20.487073 16920 net.cpp:399] data_data_0_split -> data_data_0_split_0
I0530 10:44:20.487083 16920 net.cpp:399] data_data_0_split -> data_data_0_split_1
I0530 10:44:20.487095 16920 net.cpp:141] Setting up data_data_0_split
I0530 10:44:20.487102 16920 net.cpp:148] Top shape: 1 1 500 500 (250000)
I0530 10:44:20.487108 16920 net.cpp:148] Top shape: 1 1 500 500 (250000)
I0530 10:44:20.487112 16920 net.cpp:156] Memory required for data: 3000000
I0530 10:44:20.487118 16920 layer_factory.hpp:77] Creating layer label
I0530 10:44:20.487148 16920 net.cpp:91] Creating Layer label
I0530 10:44:20.487174 16920 net.cpp:399] label -> label
F0530 10:44:20.488181 16927 db_lmdb.hpp:15] Check failed: mdb_status == 0 (12 vs. 0) Cannot allocate memory
*** Check failure stack trace: ***
Aborted (core dumped)


What is the cause of this error , and how to correct the mistake?

李冰

unread,
Aug 1, 2017, 10:01:50 PM8/1/17
to Caffe Users
Hi,

I encountered this error when I run caffe time command. Have you solved it? 



在 2016年5月30日星期一 UTC+8上午11:01:52,Kaipeng Mao写道:
Reply all
Reply to author
Forward
0 new messages