Hello Wei,

The error message indicates this is indeed a memory allocation problem. Are you 
sure the machine you are running on has enough available memory?

Regards,
Alexandros

________________________________
From: Wei Kuang [[email protected]]
Sent: Wednesday, October 23, 2013 9:32 PM
To: [email protected]
Subject: [cloudsuite] graph analytics, tunkrank runtime error

Hi,
I am running the cloudsuite graph analytics benchmark, I could run the first 
example but when shift to the third example, which uses Twitter data, 
(./tunkrank 
--graph=/path/to/twitter_small_data_graplab.in<http://twitter_small_data_graplab.in>
 --format=tsv --ncpus=2 --engine=asynchronous )

I get error:
Memory Info: Before Engine Initialization
     Heap: 2497.51 MB
     Allocated: 1610.28 MB
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
[wkuang-desktop:05008] *** Process received signal ***
[wkuang-desktop:05008] Signal: Aborted (6)
[wkuang-desktop:05008] Signal code:  (-6)
[wkuang-desktop:05008] [ 0] [0xb77a440c]
[wkuang-desktop:05008] [ 1] [0xb77a4424]
[wkuang-desktop:05008] [ 2] /lib/i386-linux-gnu/libc.so.6(gsignal+0x4f) 
[0xb73981df]
[wkuang-desktop:05008] [ 3] /lib/i386-linux-gnu/libc.so.6(abort+0x175) 
[0xb739b825]
[wkuang-desktop:05008] [ 4] 
/usr/lib/i386-linux-gnu/libstdc++.so.6(_ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x14d)
 [0xb75df13d]
[wkuang-desktop:05008] [ 5] /usr/lib/i386-linux-gnu/libstdc++.so.6(+0xaaed3) 
[0xb75dced3]
[wkuang-desktop:05008] [ 6] /usr/lib/i386-linux-gnu/libstdc++.so.6(+0xaaf0f) 
[0xb75dcf0f]
[wkuang-desktop:05008] [ 7] /usr/lib/i386-linux-gnu/libstdc++.so.6(+0xab05e) 
[0xb75dd05e]
[wkuang-desktop:05008] [ 8] ./tunkrank(tc_new+0x52a) [0x8249f7a]
[wkuang-desktop:05008] [ 9] 
./tunkrank(_ZNSt6vectorIN8graphlab23async_consistent_engineI8tunkrankE12vertex_stateESaIS4_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS4_S6_EEjRKS4_+0x3c5)
 [0x8120af5]
[wkuang-desktop:05008] [10] 
./tunkrank(_ZN8graphlab23async_consistent_engineI8tunkrankE10initializeEv+0x7f8)
 [0x8150358]
[wkuang-desktop:05008] [11] 
./tunkrank(_ZN8graphlab23async_consistent_engineI8tunkrankEC1ERNS_19distributed_controlERNS_17distributed_graphIfNS_5emptyEEERKNS_16graphlab_optionsE+0xa0f)
 [0x815110f]
[wkuang-desktop:05008] [12] 
./tunkrank(_ZN8graphlab11omni_engineI8tunkrankEC2ERNS_19distributed_controlERNS_17distributed_graphIfNS_5emptyEEERKSsRKNS_16graphlab_optionsE+0x380)
 [0x8151960]
[wkuang-desktop:05008] [13] ./tunkrank(main+0x9ea) [0x80d7f0a]
[wkuang-desktop:05008] [14] 
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0xb73834d3]
[wkuang-desktop:05008] [15] ./tunkrank() [0x80d9ca1]
[wkuang-desktop:05008] *** End of error message ***
Aborted (core dumped)


I am not sure, but maybe it is because not enough heap, as mention in the 
manaul, it requires 4GB memory to run it on a single machine.

any suggestion on that problems? thanks a lot

Reply via email to