  High Energy Physics experiments like the LUX-ZEPLIN dark matter experiment
face unique challenges when running their computation on High Performance
Computing resources. In this paper, we describe some strategies to optimize
memory usage of simulation codes with the help of profiling tools. We employed
this approach and achieved memory reduction of 10-30\%. While this has been
performed in the context of the LZ experiment, it has wider applicability to
other HEP experimental codes that face these challenges on modern computer
architectures.

Computational Physics;High Energy Physics - Experiment