code: public static synchronized void dumpTraceMemory() {
  		LogRepositoryWriter writer = getBinaryHandler().getTraceWriter();
  		if (writer instanceof LogRepositoryWriterCBuffImpl) {
  			((LogRepositoryWriterCBuffImpl) writer).dumpItems();
  		}
  	}
docs: Dumps trace records stored in the memory buffer to disk. This action
  happens only if trace destination was set to memory.