id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 8557,VIRT Memory so much!,lucybird@…,viboes,"#include #include #include #include boost::mutex io_mutex; void count(int id) { for (int i = 0; i < 10000; ++i) { boost::mutex::scoped_lock lock(io_mutex); std::cout << id << "": "" << i << std::endl; boost::this_thread::sleep( boost::posix_time::milliseconds( 1 * 1000 ) ); } } int main(int argc, char* argv[]) { boost::thread thrd1(boost::bind(&count, 1)); boost::thread thrd2(boost::bind(&count, 2)); thrd1.join(); thrd2.join(); return 0; } ubuntu server 12.04 x64 kernel 3.5.0-27-generic VIRT Momory use 164m, too much than ubuntu server 10.04 x64",Bugs,closed,To Be Determined,thread,Boost 1.53.0,Problem,invalid,thread memory,