G4MultiUnion visualization problem (memory leak?)

Hi,
I took source from:
examples/extended/optical/OpNovice
changed one volume in a G4MultiUnion with a relatively small number of planes (box+few trapezoids):

G4MultiUnion* trp_lens_array = new G4MultiUnion(“trp_lens_array”);
G4ThreeVector pos = G4ThreeVector(0, 0, (trp_thick+plate_thick/2));
G4RotationMatrix rot = G4RotationMatrix(0, 0, 0);
G4Transform3D tr = G4Transform3D(rot, pos);
trp_lens_array->AddNode(*common_plate,tr);
for (G4int ix = 0; ix < n_sipms; ix++) { // n_sipms=8
for (G4int iy = 0; iy < n_sipms; iy++) {
G4ThreeVector pos = G4ThreeVector((0.5-n_sipms/2+ix)*sipm_side, (0.5-n_sipms/2+iy)*sipm_side, trp_thick/2);
G4RotationMatrix rot = G4RotationMatrix(0, 0, 0);
G4Transform3D tr = G4Transform3D(rot, pos);
trp_lens_array->AddNode(trp_lens,tr);
}
}
// Finally close the structure
trp_lens_array->Voxelize();
// Associate it to a logical volume as normal solid
G4LogicalVolume
trp_lens_array_log = new G4LogicalVolume(trp_lens_array, acrylic, “trp_lens_array”);

Launching visualization (1 thread, but also tried t>1) of this volume consumes all my 16 GB of RAM and computer freezes. I tried different drivers, but without luck. The only way it works is using:

/vis/viewer/set/style cloud

For some drivers it was complaining about too large number of planes (or polygons, I don’t remember).
But according to your presentations:

G4MultiUnion supposed to be highly optimized in terms of memory… Any suggestion?

_Geant4 Version:_geant4-11-01-patch-02
_Operating System:_Ubuntu 22.04
_Compiler/Version:_gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
_CMake Version:_cmake version 3.22.1