contrib => select * from jr_v_bundle order by node_id_hi , node_id_lo limit 1 offset 4123 ;
ERROR: invalid memory alloc request size 8589934587
Solution
Increase the alloc size or clean the database from older versions with JCR Version History Management, to reduce the size of the table. After hat a inegrity check should be done.