Primitive.clearGeometryCache();
    public void cleanup() {	viewer[0].getView().removeAllCanvas3Ds();        viewer[0].setViewingPlatform(null);	removeAllLocales();	// viewerMap cleanup here to prevent memory leak problem.	Viewer.clearViewerMap();    }