opening journal causes game to freeze momentarily and uses a lot of memory

General discussion regarding the OpenMW project.
For technical support, please use the Support subforum.
Post Reply
argonvegell
Posts: 225
Joined: 08 Dec 2015, 23:45

opening journal causes game to freeze momentarily and uses a lot of memory

Post by argonvegell »

Whenever I open my journal, the game lags, the music becomes stuck, then freezes momentarily, and I monitored the memory usage, opening the journal uses a lot of memory, causing my computer to use swap.
User avatar
drummyfish
Posts: 154
Joined: 22 Oct 2017, 10:13
Contact:

Re: opening journal causes game to freeze momentarily and uses a lot of memory

Post by drummyfish »

My game is just fine. Can you provide details, like operating system, game version, mods, how many entries you have in the journal, does this happen on a newly created caracter too, etc.?
argonvegell
Posts: 225
Joined: 08 Dec 2015, 23:45

Re: opening journal causes game to freeze momentarily and uses a lot of memory

Post by argonvegell »

operating system
Xubuntu 16.04 32-bit

game version
0.41, I get updates through the Daily PPA, but I havent recieved updates since Aug., 4 months ago, see here: viewtopic.php?f=2&t=4561

mods
Here's my mod list:

Code: Select all

Morrowind.esm
Tribunal.esm
Bloodmoon.esm
KS_Julan_Ashlander Companion_2.0.esp
JulanOMWpatch.omwaddon
SkipTutorial1.0.esp
Clean VIBRANT TREES 1.0.esp
vibrant trees 2.0.esp
Vurt's Ashlands Overhaul.esp
Vurt's BC Tree Replacer II.ESP
Vurt's Grazelands Trees.ESP
Vurt's Grazelands Unique Trees.ESP
Join All Vampire Clans.esp
Morrowind Patch v1.6.6_beta.esm
Join All Houses.esp
adamantiumarmor.esp
LeFemmArmor.esp
master_index.esp
Ald Velothi Transport.esp
TownSounds.esp
AndranoTombRemastered.esp
Armor of the Gods Redux.esp
balmorauversion2.0.ESP
Better Chrysamere.ESP
Better Daedric Crescent.ESP
Better Morrowind Armor.esp
Better_Sounds.esp
Caius Constant effect items.esp
Buyable Hlaalo Manor.ESP
Clean Hunters rifle v.1.esp
Dagoth Gares_Voice_addon v1.1.esp
Dangerous Roads of Morrowind V2.1.esp
db_attack_fixed.esp
Elemental_Birthsigns.ESP
Forgotten Legend.ESP
Hortator Nerevarine Fix.ESP
Illy's Solstheim Rumour Fix.esp
Imperials Go Home v1.esp
Landscape Waterfalls.ESP
Magic Diversity NO  SOUND.ESP
MQE_MainQuestEnhancers.ESP
Morrowind Code Patch Showcase.esp
MCA.esm
MRM.esm
MRM_PuzzleCanal_Fix.esp
MRM-Non Pointy.esm
New Boots of Blinding Speed.ESP
Better Lord's Mail.ESP
New Lord's Mail.ESP
Portable Bedroll.esp
NX9 Redoran Founders.ESP
NightelfBB108.esp
Robert's Bodies.ESP
Better Clothes_v1.1.esp
Better Robes.ESP
More Better Clothes.ESP
Seyda Neen Transport.esp
Sleepers, Awake!.esp
UAR_EbonySarano_v2.esp
Umbra, Blademaster.ESP
Upgradeable Shock Centurion.esp
how many entries you have in the journal
How do I get that?

does this happen on a newly created caracter too, etc.?
Not sure, havent tested a new character yet.
User avatar
drummyfish
Posts: 154
Joined: 22 Oct 2017, 10:13
Contact:

Re: opening journal causes game to freeze momentarily and uses a lot of memory

Post by drummyfish »

how many entries you have in the journal
How do I get that?
Just roughly, do you have tens, hundreds or thousands or tens of thousands pages?

I'd just like to track down why the issue happens. I'd recommend you try to create a new character, without any mods, and just open a blank journal and see if the slowdown is still there. If not, try to turn on some of the mods and repeat, etc. This way you'll find what causes it. You've got quite a lot of mods so I bet it's one of them.

I don't really know how the journal works internally (will look into that), maybe someone with better knowledge will stop by and enlighten us.
argonvegell
Posts: 225
Joined: 08 Dec 2015, 23:45

Re: opening journal causes game to freeze momentarily and uses a lot of memory

Post by argonvegell »

I have about 900 plus pages in the journal.

Okay, this is what I've observed after about 3 hours of gameplay, on loading my save game, opening the journal doesn't cause problems, however, after 3 hours of gameplay, opening my journal causes the aforementioned symptoms.

Just now, my game crashed after opening my journal:
Screenshot_2017-11-18_12-46-25.png
Screenshot_2017-11-18_12-46-25.png (3.38 KiB) Viewed 3830 times
Here's the crash log:

Code: Select all

*** Fatal Error ***
 (signal 6)
Address: 0x1217

System: Linux ~ 4.10.0-32-generic #36~16.04.1-Ubuntu SMP Wed Aug 9 09:18:53 UTC 2017 i686

Executing: gdb --quiet --batch --command=/tmp/gdb-respfile-0xUWW8
User avatar
drummyfish
Posts: 154
Joined: 22 Oct 2017, 10:13
Contact:

Re: opening journal causes game to freeze momentarily and uses a lot of memory

Post by drummyfish »

Thank you for testing, there is some memory leak going - once the memory fills up, it fails to allocate more and will crash with the message you've given. The only way to fix it will unfortunately be upgrading to a newer version where the leak will hopefully be fixed - until then I'm afraid you'll have to simply keep restarting the game every once in a while. There's someone complaining about possible slowdowns in the 0.43 thread so I guess people will be looking into this. I'll try to look at it too. Again, thanks for providing this info, it may be useful to find where exactly it happens.
Post Reply