# how to cross-compile the Linux version of DS with jemalloc/tcmalloc support on Windows

**URL:** <https://forums.unrealengine.com/t/how-to-cross-compile-the-linux-version-of-ds-with-jemalloc-tcmalloc-support-on-windows/2528265>\
**Category:** Programming & Scripting\
**Tags:** cross-compiling, unreal-engine, question\
**Created:** [May 26, 2025, 6:52am UTC](https://forums.unrealengine.com/t/how-to-cross-compile-the-linux-version-of-ds-with-jemalloc-tcmalloc-support-on-windows/2528265 "2025-05-26T06:52:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![stevewzhao](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@stevewzhao](https://forums.unrealengine.com/u/stevewzhao)\
**Post date:** [May 26, 2025, 6:52am UTC](https://forums.unrealengine.com/t/how-to-cross-compile-the-linux-version-of-ds-with-jemalloc-tcmalloc-support-on-windows/2528265/1 "2025-05-26T06:52:39Z")

</div>

I encountered an intermittent DS crash issue in the production environment, suspected to be caused by memory overflow. I want to integrate jemalloc in the production environment to locate this memory problem using heap profiling. However, I haven’t found any information on how to cross-compile the Linux version of DS with jemalloc/tcmalloc support on Windows. Would anyone with experience or knowledge be able to share some insights?
