When I set a Z-buffered trihedron in a V3d_View object, memory consumption(pretty huge) of the application grows and grows as the view is rotated, translated, zoomed, etc.
Here's the source code I use to tell a V3d_View object to display a red zbuffered trihedron :
//construct a V3d_View object ...
Handle_V3d_View view = ...;
Quantity_NOC_RED, 0.08, V3d_WIREFRAME);
The configuration I use is : OCC 5.2, Windows XP, Visual C++ 6.0 SP5.