[frameworks-baloo] [Bug 364475] baloo_file_extractor crashes whenever the index exceeds 5G in size

2016-06-20 Thread Hao Zhang via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=364475

--- Comment #5 from Hao Zhang  ---
Created attachment 99637
  --> https://bugs.kde.org/attachment.cgi?id=99637=edit
Patch to fix this bug

This bug is fixed with the attached patch.

-- 
You are receiving this mail because:
You are watching all bug changes.


[frameworks-baloo] [Bug 364475] baloo_file_extractor crashes whenever the index exceeds 5G in size

2016-06-19 Thread Hao Zhang via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=364475

--- Comment #4 from Hao Zhang  ---
The relevant code is in line 97 of the file src/engine/database.cpp

mdb_env_set_mapsize(m_env, static_cast(1024) * 1024 * 1024 * 5); // 5
gb

The size of the database is HARDCODED to be 5gb!! Is there any specific reason
this size cannot be larger? 5gb is far from enough if there are lots of files
to index.

-- 
You are receiving this mail because:
You are watching all bug changes.


[frameworks-baloo] [Bug 362333] baloo_file Closed Unexpectedly a short while after starting KDE

2016-06-18 Thread Hao Zhang via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362333

Hao Zhang  changed:

   What|Removed |Added

 CC||theivoryto...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.


[frameworks-baloo] [Bug 364475] baloo_file_extractor crashes whenever the index exceeds 5G in size

2016-06-18 Thread Hao Zhang via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=364475

--- Comment #3 from Hao Zhang  ---
When I compiled baloo in debug mode, I got the following error before
baloo_file_extractor crashes:

ASSERT failure in PositionDB::put:  "MDB_MAP_FULL: Environment mapsize limit
reached", file
/home/hao/build/baloo/src/baloo-5.23.0/src/engine/positiondb.cpp, line 80

-- 
You are receiving this mail because:
You are watching all bug changes.