SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > Silent Hunter 4: Wolves of the Pacific
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 10-13-07, 05:02 PM   #1
swdw
Grey Wolf
 
Join Date: Sep 2007
Posts: 921
Downloads: 75
Uploads: 0
Default Possible memory leak? in SH4

The longer I run SH4 the more physical and virtual memory it uses. Not sure if this is the way the game's coded, or because of a memory leak.

One time the game got so choppy, it was almost unplayable. So I saved and exited- took more than 60 seconds to get all desktop icons back and for memory usage to drop to normal.

Reloaded the game and everything ran smooth again.

Since there's the post on bugs for a 1.4 patch, I was wondering if anyone else has noticed this. If so, it may be a bug that needs to be fixed.

If I'm the only one seeing this, don't want to report it as a bug. Gonna load a utility to monitor this if other people are experienceing something similar, as memory leaks can often cause a CTD.
__________________
"There are only two types of ships- submarines...... and targets" Unknown

"you wouldn't catch me on a ship that deliberately sinks itself"- comment to me from a surface sailor.

System:
AMD 6300 3.5 GHz | 32GB DDR3 | SATA 300 320GB HD, SATA III 1TB HD, SATA III 1.TB HD | ASUS Sonar DS sound card
NVIDIA 1660 Super OC | Windows 10
swdw is offline   Reply With Quote
Old 10-13-07, 05:44 PM   #2
AVGWarhawk
Lucky Jack
 
AVGWarhawk's Avatar
 
Join Date: Jun 2005
Location: In a 1954 Buick.
Posts: 28,254
Downloads: 90
Uploads: 0


Default

I have seen a few posts on this and it seems to be a very rare occurence at present. I can say I have not experienced it. The only time I get the grinding to a holt is if my antivirus is updating automatically.
__________________
“You're painfully alive in a drugged and dying culture.”
― Richard Yates, Revolutionary Road
AVGWarhawk is offline   Reply With Quote
Old 10-13-07, 05:44 PM   #3
swampa
Mate
 
Join Date: Aug 2007
Location: UK
Posts: 55
Downloads: 104
Uploads: 0
Default

I some times have that problem.
swampa is offline   Reply With Quote
Old 10-14-07, 05:25 AM   #4
Misfit138
Lieutenant
 
Join Date: Apr 2005
Location: Finland
Posts: 267
Downloads: 80
Uploads: 0
Default

I'm having this kind of problem but just not as bad. There's pretty much everytime I start the game a minor stuttering and alt tabbing into desktop and going back into game fixes this. However, during a patrol I have to do this several times
Misfit138 is offline   Reply With Quote
Old 10-14-07, 06:07 AM   #5
mrbeast
Ace of the Deep
 
Join Date: Aug 2007
Location: Bolton, UK
Posts: 1,236
Downloads: 0
Uploads: 0
Default

I have encountered similar problems too. Since I got a my new graphics card things have improved but I do get a message after I exit the game saying that virtual memory is low.
__________________
mrbeast is offline   Reply With Quote
Old 10-14-07, 06:12 AM   #6
leovampire
Eternal Patrol
 
Join Date: Apr 2007
Location: Waterbury, CT. USA
Posts: 2,336
Downloads: 0
Uploads: 0
Default have the problem every day with the game

I if I play it long enough the memory it eat's up will go all the way to 3 gig's before my PC put's up a warning saying it is running out of memory for all of my programs and by that time my FPS has gone from 60 to start with down to 8 FPS and starts to stutter.

But I think it is more XP related than the game because my Web Brouser does the exact same thing and also causes my PC to slow down.
leovampire is offline   Reply With Quote
Old 10-14-07, 06:36 AM   #7
AVGWarhawk
Lucky Jack
 
AVGWarhawk's Avatar
 
Join Date: Jun 2005
Location: In a 1954 Buick.
Posts: 28,254
Downloads: 90
Uploads: 0


Default

Quote:
Originally Posted by mrbeast
I have encountered similar problems too. Since I got a my new graphics card things have improved but I do get a message after I exit the game saying that virtual memory is low.


I experienced this but not with the game really. I had fiddled with setting my own virtual memory. Then the problem occured. Is your virtual memory set to windows controlled? I reset mine to windows controlled and the problem stopped.
__________________
“You're painfully alive in a drugged and dying culture.”
― Richard Yates, Revolutionary Road
AVGWarhawk is offline   Reply With Quote
Old 10-14-07, 08:33 AM   #8
swdw
Grey Wolf
 
Join Date: Sep 2007
Posts: 921
Downloads: 75
Uploads: 0
Default

Hmmmm, theoretically, the virtual memory usage shouldn't keep climbing. It will normally climb to some peak value, but hold there + or - a certain amount as things change.

Since other people are experiencing this, I'll go ahead and install the memory usage. Interesting too that it will eat up 3 gigs of physical ram. That's usually some issue to do with memory management (hence the term memory leak- game doesn't correctly flush unused data from memory when it's done with it).

I will give it a try and see what comes up.

If anyone else expereiencing problems wants to see what's going on, you'll need to install this utility. The process/system monitor in Task Manager is not sufficient.
Process Explorer: http://www.microsoft.com/technet/sys...sExplorer.mspx

AVG, yes VM is windows controlled. I only set it manually when I have 2 drives installed as that speeds up the VM use (set VM on the drive your windows install is not on). Right now my new system only has one drive.
__________________
"There are only two types of ships- submarines...... and targets" Unknown

"you wouldn't catch me on a ship that deliberately sinks itself"- comment to me from a surface sailor.

System:
AMD 6300 3.5 GHz | 32GB DDR3 | SATA 300 320GB HD, SATA III 1TB HD, SATA III 1.TB HD | ASUS Sonar DS sound card
NVIDIA 1660 Super OC | Windows 10
swdw is offline   Reply With Quote
Old 10-14-07, 01:40 PM   #9
mrbeast
Ace of the Deep
 
Join Date: Aug 2007
Location: Bolton, UK
Posts: 1,236
Downloads: 0
Uploads: 0
Default

Quote:
Originally Posted by AVGWarhawk
Quote:
Originally Posted by mrbeast
I have encountered similar problems too. Since I got a my new graphics card things have improved but I do get a message after I exit the game saying that virtual memory is low.


I experienced this but not with the game really. I had fiddled with setting my own virtual memory. Then the problem occured. Is your virtual memory set to windows controlled? I reset mine to windows controlled and the problem stopped.
I don't know haven't looked at any memory settings.
__________________
mrbeast is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 06:27 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.