• Tracker

    Spaces
    Browse
    Statistics
  • /
  • /Stable Feedback
  • /DZG-837
Back
225

Static memory issues

MultiplayerServerClientModded
225

State

Assigned
Issue key
DZG-837
Access
Public
Space
DayZ
Project
Stable Feedback
Creator
6wingseraph
Created
Sep 19, 2026
Views
4.1k
Platform
PC Steam
What happened?

Since one of the latest updates, we've taken a closer look at static memory usage on script modules and its limits.

I'm talking for example about:
Module: Mission; loaded 585x files; 809x classes; used 5753/33554 kB (17%) of static memory; defines: "DAYZ_1_29,PLATFORM_WINDOWS,DIAG,DIAG_DEVELOPER,KR_RUN_ALL_TESTS,CodeLock,sakhal,JM_CommunityFramework,CF_MODULE_CONFIG,CF_EXPRESSION,CF_

We've got approximately 100 MB of total static memory across all modules combined. This is pure sadness, because servers today are heavily modded, and more and more modders are building their own libraries or frameworks — and this trend isn't going away.
Because of this, these limits are going to get hit very fast. I checked my own core library against static memory usage, and it consumes ~4% of that 100 MB limit on its own.
Let's do some quick math, and we see that:
A regular mod with a medium amount of scripts consumes roughly 0.5-1.0% of the total budget. And I'm specifically not even talking about layers like 4_World, which already carries more load than any other layer, meaning the real memory impact of mods placed there is even higher than these numbers suggest.
Do the math, and you get only around 40 mods total that a server can actually run before hitting the wall.
This is not ok. Servers today are already hitting these limits — they have to choose between mods, they can't clean up or optimize away the bloat, their only real option is to REMOVE content, because of limits set decades ago.

Also, a few more points worth raising:

  1. 1_Core doesn't even get its own line in the static memory logs.

  2. GameLib has JUST 2 MB of static memory total, and it's the tightest pool of all four by far.

  3. Log strips defined defines, because Print function is bad (has limits in it for some reason)

Given all of this, you need to address this problem urgently, before it starts causing real problems for more and more of your players.

Reproduction steps

Launch in diagnostics mode.
Put any decent mod or library to the game, compare diff without this mod.

Exact build version (optional)
1.29
Where did it happen?
Local / Offline
Is it modded?
Yes
Expected result

Expand limits to meaningful capacity

Section
Mod list

testmod

Load order / launch params
—
Reactions

Activity

    25 days ago
  • marrypopeccommented
    25 days ago
    marrypopeccommented
    25 days ago
    Please revert it to how it was; we really want that content back on the Stalker RP server in DayZ.
  • dezdarkcommented
    25 days ago
    dezdarkcommented
    25 days ago

    Title: Constructive Feedback & Proposed Solutions regarding Static Memory Limits and Mod Loading

    Hello developers and community,

    First of all, I want to thank the author for a very detailed and well-researched report. The breakdown of the 100 MB static memory limit and the impact of growing mod sizes is a critical issue that will only get worse over time. I agree that this is a major bottleneck for the server's longevity and stability.

    To help move this discussion forward and get it resolved, I would like to summarize the core issues and propose a few constructive solutions:

    The Core Problem:

    Currently, the engine heavily relies on static memory allocation. As the author noted, with mods like 4 World and others constantly expanding, the server is hitting the 100 MB ceiling. The fact that even the core libraries (1. Core, 2. GameLib) are struggling to get proper memory slices shows an imbalance in resource distribution. If servers are forced to choose between essential mods just to avoid crashing, the gameplay experience will suffer.

    Proposed Solutions / Next Steps:

    1. Dynamic Memory Allocation: This is the ultimate long-term goal. Is it technically feasible to migrate the mod loading process from static to dynamic memory (e.g., using heap allocation)? This would eliminate the hard 100 MB cap, allowing the server to use the system's available RAM instead.

    2. Memory Usage Diagnostics & Profiling: It would be highly beneficial to add a diagnostic tool (or a console command) that allows server owners to see exactly how much static memory each mod consumes. This would help server admins identify "heavy" mods and make informed decisions.

    3. Core Library Optimization: If expanding the 100 MB limit is impossible in the short term, can the core libraries (1. Core and 2. GameLib) be optimized to consume less static memory? Freeing up even a few megabytes there could give regular mods more room to breathe.

    4. Slicing Adjustment: As the author mentioned, the current memory slices are unbalanced. If the total memory limit is increased, the allocation algorithm needs to be re-evaluated so that core libraries and large content mods get the memory they actually need without starving others.

    Questions for the Developers:

    * Are there any plans in the near future to introduce dynamic memory allocation for mods?

    * Is the 100 MB static memory limit a hard engine limitation, or can it be adjusted via configuration files in future patches?

    I really hope the development team takes a look at this. Solving this now will save the community a lot of headaches down the line.

    Thank you for your time and hard work!

  • danielreichcommented
    25 days ago
    danielreichcommented
    25 days ago

    Наш сервер вынужден удалять моды из-за лимита. После 1.29 не можем запустить прежний набор.

  • iudacommented(edited)
    25 days ago
    iudacommented(edited)
    25 days ago

    100mb

  • 252_korsar_252commented
    25 days ago
    252_korsar_252commented
    25 days ago

    Уважаемая группа разработчиков. Убедительная просьба увеличить лимиты загружаемого контента до прежней вверсии 1.29.

  • kotosmos1commented
    25 days ago
    kotosmos1commented
    25 days ago

    Guys—100 MB, seriously? My server won't even start! Please increase the limit; I’m being forced to delete mods! This is not cool!

  • 24 days ago
  • freshaircommented
    24 days ago
    freshaircommented
    24 days ago

    Уважаемые разработчики игры! Прошу убрать ограничение статической памяти, как это было в 1.29. Уже на протяжении 5 лет я являюсь обладателем нескольких серверов с разными направлениями. Из-за последнего обновления я вынужден убирать половину контента со своих серверов, что негативно сказывается на комьюнити не только моих серверов, но и самой игре! Очень надеюсь на то, что вы это исправите. Спасибо!

  • 23 days ago
  • dwarf_masoncommented
    23 days ago
    dwarf_masoncommented
    23 days ago

    So.... I've launched server after 1.30 update. Did I mention that World_4 module was crashing so we had to remove аpproximately 30 mods?

  • c00kyukcommented
    23 days ago
    c00kyukcommented
    23 days ago

    Yeah this is not gonna get fixed....

  • james_marcus_usscommented
    23 days ago
    james_marcus_usscommented
    23 days ago

    @l909 Given that so many people are following this report and the comments, we need to be told what will happen regarding this issue and whether any solution will be provided.
    Thank you

  • l909
    Moderator
    commented
    23 days ago
    l909
    Moderator
    commented
    23 days ago

    Fix is planned to one of the upcoming patches for 1.30 but I cannot provide estimates. It is very likely not going to be included in the first patch for 1.30

  • iudacommented
    23 days ago
    iudacommented
    23 days ago

    That is the main problem with the patch, yet what theyll be fixing first is something else entirely-something that isnt the core issue at all.

    absolute cinema

  • 6wingseraphreplied to a comment
    23 days ago
    6wingseraphreplied to a comment
    23 days ago

    thank you very much for response and promise of upcoming fix

  • c00kyukreplied to a comment
    23 days ago
    c00kyukreplied to a comment
    23 days ago

    This should be #1 priority since it forces so many servers offline and people are paying to host them.

  • This comment has been removed.
    23 days ago
  • stalker_etude_rpcommented
    23 days ago
    stalker_etude_rpcommented
    23 days ago

    Вы че уебки блять!? Который раз плюете в лицо комьюнити которое вашу ебаную поломонанную игру спасает! Как банить Тержа так вы тут как тут, а как пойти на контакт сесть и пообщатся о проблемах и исправить их вы блять языки в жопу свою позасовывали. Сука нейронки блять игры делают а вы не можете этот печальный дэйз до ума довести, откройте уже блять глаза свои и движок заодно, сделайте что то хорошее за последние 10 лет 1:30 ебаное гавно как и ваши ДЛС и ваше блядское к комьюнити отношение... тьфу сука

  • 6wingseraphreplied to a comment
    23 days ago
    6wingseraphreplied to a comment
    23 days ago

    Hello, please consider removing your comment. This is an English-only bug tracker, and it’s not the place to insult devs.
    It’s great that devs are listening to the community and fixing such issues in 1.30.

  • 23 days ago
  • m6replied to a comment
    23 days ago
    m6replied to a comment
    23 days ago

    Would you mind sharing insights as to why it was there in the first place? Like why is there a limitation like that to begin with, or why cant server owners set their own limits etc.? Would be interesting to know.


    Happy to hear that a fix is coming

  • 6wingseraphreplied to a comment
    22 days ago
    6wingseraphreplied to a comment
    22 days ago

    I think it’s simply a matter of stability and architecture, since a static memory arena is fairly easy to use and gives you both speed and stability.

  • temnyucommented(edited)
    22 days ago
    temnyucommented(edited)
    22 days ago

    Update 1.30 broke my ENTIRE setup. It’s just awful. This game relies entirely on community servers—so why does the development team keep making life difficult for the community with every single update? Please, stop. At least increase the static memory limit.

  • 21 days ago
  • c00kyukcommented
    21 days ago
    c00kyukcommented
    21 days ago

    Even better, someone posted a temp fix and bis removed it 😆

  • rabbitreplied to a comment(edited)
    21 days ago
    rabbitreplied to a comment(edited)
    21 days ago

    Happens all the time. The Czech team behind the game is very smug and proud. They want solutions to come from them and them only. They hate when users on here post solutions. They're man-children with Pokémon and dragon pfps.

  • 6wingseraphreplied to a comment
    21 days ago
    6wingseraphreplied to a comment
    21 days ago

    You're incorrect, since i've posted the reason and solution for this particullar issue https://report.bistudio.com/issues/DZG-837?commentId=6abe9e0f41140b7f57bbe1eb

  • demitrii44commented(edited)
    21 days ago
    demitrii44commented(edited)
    21 days ago

    Dear DayZ Development Team,

    Your updates arrive regularly, usually at least twice a year, and we appreciate the continued support for the game. However, from the perspective of many players, we have yet to see some of the fundamental improvements that could truly unlock DayZ's full potential.

    As you are undoubtedly aware, a significant portion of the DayZ community plays on modded servers. Mods have become much more than an optional addition to the game. They are one of the main reasons DayZ has remained relevant and engaging for so many years. They bring new ideas, mechanics, experiences, and endless possibilities that keep players coming back.

    Of course, every major update comes with risks for the modded servers we have come to love. Mods can break, servers can go offline, and their creators must spend countless hours adapting their work to the latest version. We understand that this is part of the process, and we have learned to live with it.

    But with every update, we continue to hope that you will also remember the community that has supported your game for the past seven years. The players, server owners, modders, and community creators who have invested their time, creativity, and passion into DayZ have played a major role in keeping the game alive and attracting new players. The success and longevity of DayZ are not solely the result of official updates. They are also the result of the incredible community that has grown around the game.

    That is why I would like to make one simple but important request: please consider increasing the script memory limit.

    The current limit of 100 MB is far too restrictive for ambitious modded projects. It prevents modders from fully realizing their ideas and limits what server owners can offer their communities. Raising this limit could open the door to more complex systems, richer gameplay experiences, and innovations that would benefit the entire DayZ community.

    DayZ has enormous potential, and I genuinely believe that we have only scratched the surface of what this game could become. Giving modders more room to create would be a meaningful step toward realizing that potential.

    I hope this message reaches you and that you will seriously consider this request. We are not asking you to do everything for us. We are simply asking you to give the community the tools it needs to continue building, creating, and keeping DayZ alive for years to come.

    Thank you for your time, your work, and for continuing to develop DayZ.

    Sincerely,
    A regular DayZ player with 5,500 hours of playtime.

  • 20 days ago
  • heoncommented(edited)
    20 days ago
    heoncommented(edited)
    20 days ago

    I have to remove mods from my server due to an imposed limit. As of version 1.29, we can no longer use our previous set of mods. Please take action. DayZ thrives thanks to its mods...

  • terrylavacommented
    20 days ago
    terrylavacommented
    20 days ago

    i've done some testing on this.

    dayz vanilla takes up 33% of the static world memory. about 10mb

    expansion takes another 5mb.

    inedia takes another 2mb

    ncpr takes another 2mb

    snafu takes another mb

    you're at 66% full before you even start really modding. I can get a stable server with ~120 mods. I have not reached the true limit of the engine. I have just run into this artificial limit. we need at least double the memory in the 4_world module. the other modules sit nearly empty because all the things players want are in the 4_world module. I can make this game into an MMORPG with enough memory. My server is sitting with a dedicated 128gb, and i can't even get it to 50% usage because of this bug.

  • willeniumcommented
    20 days ago
    willeniumcommented
    20 days ago

    neeed to rise world mission unleas to 64mb and it will be super for community modding servers

  • stalker_etude_rpreplied to a comment
    20 days ago
    stalker_etude_rpreplied to a comment
    20 days ago

    воспользуйся переводчиком, сраный расист

  • 19 days ago
  • jeanbon_levraicommented
    19 days ago
    jeanbon_levraicommented
    19 days ago

    Please fix it

  • egotripecommented
    19 days ago
    egotripecommented
    19 days ago

    Dear DayZ Development Team,

    I am reaching out on behalf of the DayZ server administration community regarding a critical technical bottleneck that severely limits the growth and creativity of modded servers.

    Currently, the Enfusion engine enforces a strict static memory limit (around 32MB to 33MB per script module, such as Game, World, and Mission). Even on high-end enterprise server hardware—our dedicated machine currently runs with 128GB of RAM—the server process triggers "Out of static memory" warnings and crashes as soon as a comprehensive set of mods or major frameworks are loaded.

    With the recent updates, including 1.30, managing script compilation and loading complex community modifications has become a tightrope walk. We are constantly forced to cut down on content, remove features, or abandon optimization scripts just to stay under this hardcoded threshold. The physical hardware is barely being utilized, yet the engine chokes on script memory allocations.

    As server owners who drive a massive portion of DayZ's active player base, we respectfully request that you consider increasing this static memory allocation limit in an upcoming hotfix or update, or provide a dedicated server launch parameter (e.g., -maxScriptMem) to let hosts manually adjust this threshold based on their available hardware.

    Thank you for your time, your continuous support of the game, and for considering this quality-of-life upgrade for the modding community.

  • 16 days ago
  • terrylavacommented
    16 days ago
    terrylavacommented
    16 days ago

    I've been doing some testing and the static memory is just the tip of the iceberg. Once this is lifted, you'll immediately start running into "Too many instructions per function" which is much harder to fix because it's deep in the compilation of the exe. A lot of mods are just coded bad, and a lot of us just want too many mods, but eventually we'll have to evolve past Apple IIe era memory limits.

  • 13 days ago
  • chimerereplied to a comment(edited)
    13 days ago
    chimerereplied to a comment(edited)
    13 days ago

    Hello,

    in SNAFU we are working on bringing the 0.8 MB script memory alloc down by around 40-49%.

    Edit 2026-11-09: actual dev build and candidate for release sits below 300 kB right now.

  • 12 days ago
  • james_marcus_usscommented
    12 days ago
    james_marcus_usscommented
    12 days ago

    In patch #2 for version 1.30 at least in the experimental branch there is still no solution for this.

  • doc_sanderscommented
    12 days ago
    doc_sanderscommented
    12 days ago

    U are killing community modding servers. Please, fix it for 1.30 #2 patch.

  • 8 days ago
  • james_marcus_usscommented
    8 days ago
    james_marcus_usscommented
    8 days ago

    209 users have upvoted this bug, asking for it to be fixed.

    The 3rd patch is coming today, yet we still have absolutely no information regarding it how much longer do we have to wait?

  • c00kyukcommented(edited)
    8 days ago
    c00kyukcommented(edited)
    8 days ago

    Still no mention of DZG-837 in the patch notes yall aint for real, I have had to remove 23 mods to get past the static memory error. Literally half my servers features are missing

  • astralprojcommented(edited)
    8 days ago
    astralprojcommented(edited)
    8 days ago

    Not only was the patch again without a memory fix, but they also broke the crutch that many had made - instead of 32mb, 64mb of memory could be set for scripts. It feels like we're being bullied.

  • riskoviycommented
    8 days ago
    riskoviycommented
    8 days ago

    Дорогие разработчики ! Просим вас всем сообществом 🙏 Дайте пожалуйста шанс не умереть DayZ modding . Исправьте ситуацию

  • 7 days ago
  • valeriyasmilingcommented
    7 days ago
    valeriyasmilingcommented
    7 days ago

    Наш сервер вынужден удалять моды из-за лимита. После 1.29 не можем запустить прежний набор.

  • alldanilkacommented
    7 days ago
    alldanilkacommented
    7 days ago

    Fix this!!!

  • 6wingseraphcommented
    7 days ago
    6wingseraphcommented
    7 days ago

    @l909 Hello.
    Any updates on that:?

  • 6 days ago
  • sumkin_botkincommented
    6 days ago
    sumkin_botkincommented
    6 days ago

    Dear Bohemia Interactive Team,

    I am writing to ask you to treat this issue with real seriousness and to work with your community as soon as possible. Many community servers have now emptied because the content that used to keep them active is no longer available. As a result, players are leaving not only individual servers but the game itself. You have no shortage of competitors in this market, and community server owners have been helping promote your game for years. We have spent our own resources to keep your project alive and to make the game world more varied. All we ask is that community servers are no longer held back by memory limits, so that each server can remain unique and continue to attract new players who will buy the game.

    We sincerely hope you will hear us out and support the community in the near future.

    Kind regards, Paul

  • james_marcus_usscommented(edited)
    6 days ago
    james_marcus_usscommented(edited)
    6 days ago

    @l909 Hi!

    We are all waiting for some news; a fix was promised in a 1.30-series patch, yet two patches have now been released without any solution or update on this matter. An increasing number of us are following this closely, as it is the biggest problem currently facing all of us who run community servers. Please, provide us with an update on this.

  • jokercommented
    6 days ago
    jokercommented
    6 days ago

    Thank you for helping us shut down our servers—players once loved them! After your updates, all our servers crashed and didn’t come back up! We really hope you’ll fix the situation!

  • 1 day ago
  • james_marcus_usscommented
    1 day ago
    james_marcus_usscommented
    1 day ago

    This makes no sense; more and more users are following this thread, yet we still have no answers. I think it’s time for the community to step up, and for Bohemia to stop making a mockery of its users

  • doc_sanderscommented(edited)
    1 day ago
    doc_sanderscommented(edited)
    1 day ago

    It's simple, let us know if u want to resolve the issue or if you'd rather just let de modding servers die. The community is waiting for your answer 2 months!!!


    Thanks

  • diogoguitacommented
    1 day ago
    diogoguitacommented
    1 day ago

    The goal of Bohemia Interactive is to shut down community servers!

  • about 8 hours ago
  • 89commented
    about 8 hours ago
    89commented
    about 8 hours ago

    I would not be surprised if this was a trojan horse because the maker of this ticket already has an exploit for the server / client or something and they just need more memory so they can run a more significant attack on the player base / bohemia.


    Very suspicious and obviously botted behavior, but someone wouldn't do something like this unless they were highly motivated and I think that motivation is malicious.

    Mind you there is probably no body, not anyone not even the legit VIP modders that are lurking here that actually have a problem with this, none of them have said anything, and when this post was made the day before there were maybe 10 people total that had accounts and were making posts, suddenly this guy shows up and becomes veteran rank, I mean, how do you have so many resources and yet be so naive?

  • james_marcus_ussreplied to a comment
    about 6 hours ago
    james_marcus_ussreplied to a comment
    about 6 hours ago

    What would a modder have to say about this?

    People who create mods don’t face this issue, as they aren’t running a massive number of mods themselves it makes no difference to them. Are you expecting a team of modders like the Expansion team, for instance to weigh in here?

    What would they even say, given that their own bundle doesn’t completely fill up the memory?

    Do you honestly think that having a professional modding team show up here would somehow lead to a faster fix?

    Are you genuinely being paranoid about "exploits"?

    Do you really think it’s difficult to fill up 4_world on a community server these days?

    Especially when the limit is a measly 15 MB?

    Are you being serious right now?

    Support the community, this is something many of us server owners are struggling with!

  • 6wingseraphreplied to a comment
    about 5 hours ago
    6wingseraphreplied to a comment
    about 5 hours ago

    This is named community, where people consolidate and help each other.

    EU part of the community was silent, i've sent this post to Enfusion Modders, and there were couple people interested in game progress. So i've asked many developers and community hosters to highlight this huge problem to the devs.
    No bots were used in this work, if so, BI can delete this post and purge 225 upvotes from my rank, i dont care about rank or anything else, my motivation is the game and cool stuff that i can make in it, simple as that.

    We as modding community need more memory, so there can be more complex and great mods.

You are not signed in. Please sign in to see more details and to reply.

State

Assigned
Issue key
DZG-837
Access
Public
Space
DayZ
Project
Stable Feedback
Creator
6wingseraph
Created
Sep 19, 2026
Views
4.1k