Forum Stats

  • 3,741,944 Users
  • 2,248,507 Discussions
  • 7,862,084 Comments

Discussions

vector_load_from_binary_file() results in error

1336415
1336415 Member Posts: 12

Hi,

Trying to use vector_load_from_binary_file() results in:

verify_address: addrvec =  0xffffffff6fc00000 block_size = 260000000

verify_address: address 0xffffffff6fc00000 has no physical page associated with it

Allocated Address was not in a physical page

Did not get single physical page for size 260000000 bytes

verify_address: addrvec =  0xffffffff6d400000 block_size = 40000000

verify_address: address 0xffffffff6d400000 has no physical page associated with it

Allocated Address was not in a physical page

Did not get single physical page for size 40000000 bytes

Why it tries to get single page for whole file?

Code is:

        vtimes = vector_load_from_binary_file("data/times.bin", STRING, size);

        vvalues = vector_load_from_binary_file("data/values.bin", INTEGER, size);

Is there another way to load binary data from few hundreds megabytes file?

Thank you.

Best Answer

Answers

Sign In or Register to comment.