• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.
Performance

klotim

Recruit
15 Badges
Sep 24, 2018
3
2
  • Cities: Skylines Deluxe Edition
  • Cities: Skylines
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Together for Victory
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Imperator: Rome Deluxe Edition
  • Imperator: Rome
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: La Resistance
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
  • Battle for Bosporus
I've been trying to handle the performance issues with the game.

I use mods like disabling collaborate and Ai demobilization and so on but it still doesn't improve the performance. Is there a memory leak or something that is happening?

Because it gets really slow after 1945 even though you defeated Axis so there shouldnt be as much computation compared to when the war was ongoing.

My rig is very high end.

RIG: RTX 2080Ti, 32GB 3200Mhz Ram, i7 5820K 6 core 5ghz and m.2 disk.
 
Last edited:

BeauNiddle

Lt. General
78 Badges
Oct 5, 2011
1.396
2.968
  • Stellaris: Galaxy Edition
  • Semper Fi
  • Europa Universalis IV: Res Publica
  • Tyranny: Gold Edition
  • Victoria 2: A House Divided
  • Leviathan: Warships
  • Victoria 2: Heart of Darkness
  • Heir to the Throne
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • For the Motherland
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Divine Wind
  • Europa Universalis III Complete
  • Tyranny: Archon Edition
  • Tyranny: Archon Edition
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Stellaris Sign-up
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Together for Victory
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • 500k Club
  • Shadowrun: Dragonfall
  • BATTLETECH
  • Surviving Mars
  • Hearts of Iron IV: Death or Dishonor
  • Shadowrun Returns
  • Age of Wonders III
  • Tyranny - Bastards Wound
  • Europa Universalis III Complete
  • Hearts of Iron IV: No Step Back
  • Stellaris: Distant Stars
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Europa Universalis IV
  • Shadowrun: Hong Kong
  • BATTLETECH - Digital Deluxe Edition
  • Europa Universalis III Complete
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Galaxy Edition
  • Victoria 2
  • Surviving Mars: Digital Deluxe Edition
  • Europa Universalis IV: El Dorado
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Mare Nostrum
It's (mainly) the number of divisions. If the world tension is high then every country in the world gets scared and starts producing defensive units. Even after defeating the axis there will still be hundreds, if not thousands, of divisions around the world. Working out what they are going to do takes time.

It's the same reason games of Civ, Total War and other such long term strategy games all slow down as you move through the time scale.

If it was a memory leak then restarting the game would fix it. It's not - it's sheer amount of processing required.
 
  • 1
Reactions:

Voigt

General
66 Badges
Mar 15, 2012
2.254
2.762
The problem is not that those divisions exist, it is more that they are "active" receving calculated commands, since there is still war with Japan. If there is fully peace in the World, then the performance should get better again, ut aslong as the Allies still fight (Japan) the performance doesn't really change, even if you defeated the Axis. Especially if they got peaceconfereced, joined the Allies and also battle the Japanese.
 
  • 1
Reactions:

DicRoNero

Oberst
27 Badges
May 13, 2013
1.913
1.066
  • Hearts of Iron IV: La Resistance
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Colonel
Of course there should be issues! The mighty El Salvador has just joined our ranks and appears to have fielded 42 divisions of his own! Ze Germans better be scared!

QQEPYHy.jpg
 
  • 2Haha
Reactions:

Ivankovsky

Captain
31 Badges
May 1, 2017
356
557
  • Hearts of Iron IV: No Step Back
  • Battle for Bosporus
  • Hearts of Iron IV: La Resistance
  • Victoria 2
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Apocalypse
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Synthetic Dawn
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Field Marshal
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Stellaris: Ancient Relics
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Megacorp
The problem is not that those divisions exist, it is more that they are "active" receving calculated commands, since there is still war with Japan. If there is fully peace in the World, then the performance should get better again, ut aslong as the Allies still fight (Japan) the performance doesn't really change, even if you defeated the Axis. Especially if they got peaceconfereced, joined the Allies and also battle the Japanese.

I don't know about that, even games were such peace was achieved still "run" horribly on my PC.
To give an example, in my last long campaign to get the Macau cheevo, pretty much all the Allies were annexed (including UK, France, Canada, Benelux, USSR), Japan was also annexed and there were no wars whatsoever. From that point I though about going for a world conquest, but the game was running so slow I couldn't bother even building up to defeat the axis...

I had dozens of games ending like this, the ultimate enemy in hoi4 you have to prepare to is the inevitable impending late-game lag...

Annexing countries and killing/deleting AI divisions certainly helps, as does peace time, but I think even peace time divisions are draining too much out of your CPU...
(my CPU is a Ryzen 1500x, not remotely high-end but still way above the recommended)

Also, Germany after winning the war tends to make a LUDICROUS amount of divisions, my memory might be exaggerating on this one but I think one time they reached 1000 division in the field (and yes it was post LaR)!
 

GSP Jr

Colonel
15 Badges
Apr 27, 2017
1.159
983
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Field Marshal
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: La Resistance
  • Battle for Bosporus
  • Hearts of Iron IV: By Blood Alone
  • Hearts of Iron IV: No Step Back
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Semper Fi
One thing that always seems to help (for a while) is to save/reload the game.
The internal program data that accumulates as the days/weeks/months/years go by can be huge.
 
  • 2
Reactions:

MobiusTwo

First Lieutenant
25 Badges
Jul 4, 2017
245
865
  • Battle for Bosporus
  • Hearts of Iron IV: By Blood Alone
  • Hearts of Iron IV: No Step Back
  • Hearts of Iron IV: La Resistance
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Together for Victory
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Victoria 2
I think a lot of late-game performance problems could be solved if they added division limits like Kaiserreich now has, or gave every South American country national spirits that cripples their manpower, like India has to deal with. Ideally, with less manpower, the AI would churn out fewer divisions. It wouldn't exactly make any of those affected South American nations fun to play as, but I would argue that none of them are really worth playing as, and they never really contribute anything towards the game anyway. It would be somewhat justified historically since those nations' contributions towards WWII was minimal.
 
  • 1
  • 1Like
Reactions:

Vlad123

Lt. General
1 Badges
Feb 7, 2015
1.669
1.290
  • Crusader Kings II: The Old Gods
I think a lot of late-game performance problems could be solved if they added division limits like Kaiserreich now has, or gave every South American country national spirits that cripples their manpower, like India has to deal with. Ideally, with less manpower, the AI would churn out fewer divisions. It wouldn't exactly make any of those affected South American nations fun to play as, but I would argue that none of them are really worth playing as, and they never really contribute anything towards the game anyway. It would be somewhat justified historically since those nations' contributions towards WWII was minimal.
in an online game there was this problem, only it was not the "lag" but just the amount of troops one could enlist unlimitedly. As well as ships: with few ports / shipyards, having the necessary resources, a fleet like the USA could be built. So manpower should be either decreased for everyone, or put in a resource (food, supplies, money, call it whatever you want) that limits troops. If the troops consume 100 and produce over 100 I do not recruit otherwise they start to suffer all malus. Simple in online games if you go negative between production and "resources in stockpile" you simply lose troops until you return to the positive.