amd / OpenCL-caffe

This is a Experimental version of OpenCL by AMD Research, we now recommend you to use The official BVLC Caffe OpenCL branch is over at Caffe branch now at https://github.com/BVLC/caffe/tree/opencl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

What can I do for this problem

opened this issue · comments

[----------] 5 tests from DBTest/1, where TypeParam = caffe::TypeLMDB
[ RUN ] DBTest/1.TestSeekToFirst
[ OK ] DBTest/1.TestSeekToFirst (110 ms)
[ RUN ] DBTest/1.TestKeyValue
[ OK ] DBTest/1.TestKeyValue (100 ms)
[ RUN ] DBTest/1.TestNext
[ OK ] DBTest/1.TestNext (101 ms)
[ RUN ] DBTest/1.TestWrite
F1112 10:42:15.701217 4211 db_lmdb.hpp:13] Check failed: mdb_status == 0 (-30792 vs. 0) MDB_MAP_FULL: Environment mapsize limit reached
*** Check failure stack trace: ***
@ 0x402fd61c google::LogMessage::Fail()
@ 0x402fd545 google::LogMessage::SendToLog()
@ 0x402fcf91 google::LogMessage::Flush()
@ 0x402fffde google::LogMessageFatal::~LogMessageFatal()
@ 0x401b1aee caffe::db::LMDBTransaction::Put()
Aborted (core dumped)
make[3]: *** [src/caffe/test/CMakeFiles/runtest] 错误 134
make[2]: *** [src/caffe/test/CMakeFiles/runtest.dir/all] 错误 2
make[1]: *** [src/caffe/test/CMakeFiles/runtest.dir/rule] 错误 2
make: *** [runtest] 错误 2

I believe some tests had very large datasets by default (>1TB). You can change the test parameters to not attempt to test such large cases.

From: huyanning [mailto:notifications@github.com]
Sent: Wednesday, November 11, 2015 7:46 PM
To: amd/OpenCL-caffe OpenCL-caffe@noreply.github.com
Subject: [OpenCL-caffe] What can I do for this problem (#16)

[----------] 5 tests from DBTest/1, where TypeParam = caffe::TypeLMDB
[ RUN ] DBTest/1.TestSeekToFirst
[ OK ] DBTest/1.TestSeekToFirst (110 ms)
[ RUN ] DBTest/1.TestKeyValue
[ OK ] DBTest/1.TestKeyValue (100 ms)
[ RUN ] DBTest/1.TestNext
[ OK ] DBTest/1.TestNext (101 ms)
[ RUN ] DBTest/1.TestWrite
F1112 10:42:15.701217 4211 db_lmdb.hpp:13] Check failed: mdb_status == 0 (-30792 vs. 0) MDB_MAP_FULL: Environment mapsize limit reached
*** Check failure stack trace: ***
@ 0x402fd61c google::LogMessage::Fail()
@ 0x402fd545 google::LogMessage::SendToLog()
@ 0x402fcf91 google::LogMessage::Flush()
@ 0x402fffde google::LogMessageFatal::~LogMessageFatal()
@ 0x401b1aee caffe::db::LMDBTransaction::Put()
Aborted (core dumped)
make[3]: *** [src/caffe/test/CMakeFiles/runtest] 错误 134
make[2]: *** [src/caffe/test/CMakeFiles/runtest.dir/all] 错误 2
make[1]: *** [src/caffe/test/CMakeFiles/runtest.dir/rule] 错误 2
make: *** [runtest] 错误 2


Reply to this email directly or view it on GitHubhttps://github.com//issues/16.

@huyanning From the error message, it seems that you LMDB data set is oversized (map size limit reached. Even though i dont know what it means). May I ask which data set you are running? on which machine? I have never ran into this error before.

commented

fyi, LMDB databases are configured with a maximum size (using mdb_env_set_mapsize() ). This error means the database filled up and has reached the configured maximum. You should configure the DB with a larger maximum size.