WarningMessage::Allocating values array with 8 bytes

37 views
Skip to first unread message

George Chan

unread,
Feb 11, 2023, 5:23:47 AM2/11/23
to Ceres Solver

Hello,

Recently, I have encountered issues from moving to 2.1.0 on Windows 11. I have built library and then test it in a project with Visual Studio 2022. The test results is fine, but I constantly saw the following messages in the console window:

D:\ceres-solver\ceres-solver-2.1.0\internal\ceres\block_sparse_matrix.cc:80 Allocating values array with 8 bytes.

D:\ceres-solver\ceres-solver-2.1.0\internal\ceres\block_sparse_matrix.cc:80 Allocating values array with 8 bytes.

D:\ceres-solver\ceres-solver-2.1.0\internal\ceres\block_sparse_matrix.cc:80 Allocating values array with 8 bytes.

D:\ceres-solver\ceres-solver-2.1.0\internal\ceres\block_sparse_matrix.cc:80 Allocating values array with 32768 bytes.

D:\ceres-solver\ceres-solver-2.1.0\internal\ceres\block_sparse_matrix.cc:80 Allocating values array with 16 bytes.

D:\ceres-solver\ceres-solver-2.1.0\internal\ceres\compressed_row_sparse_matrix.cc:171 # of rows: 2 # of columns: 2 max_num_nonzeros: 3. Allocating 48

D:\ceres-solver\ceres-solver-2.1.0\internal\ceres\eigensparse.cc:66 Symbolic Analysis

  L:        0Mb

  diag:     0Mb

  tree:     0Mb

  nonzeros: 0Mb

  perm:     0Mb

  perm^-1:  0Mb

  TOTAL:    0Mb

 

Does anyone have an idea of what’s happening here? and how to fix it?

thanks!

Regards


To make the questions clearer, here is my procedure and the directory trees:

1.     Build ceres-solver with visual studio 2022 in the directory below:
D:\ceres-solver
--------------------\ceres-solver-2.1.0
--------------------\build
--------------------\install

2.     Create a test project in another directory and copy the library from D:\ceres-solver\install to D:\test-ceres\lib\ceres-solver\. Here is the directory tree:
D:\test-ceres
--------------------\lib\ceres-solver
--------------------\src
--------------------\CMakelists.txt
--------------------\build

Sameer Agarwal

unread,
Feb 11, 2023, 8:12:20 AM2/11/23
to ceres-...@googlegroups.com
You are using miniglog which does not give you control over where the logs produced by ceres go.
actual glog does. I recommend using it. The other options is to change the verbosity level inside miniglog.
Sameer


--
You received this message because you are subscribed to the Google Groups "Ceres Solver" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ceres-solver...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceres-solver/5447c0db-155f-46f9-8115-d1d89603bf14n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages