technique to avoid crash due to insufficient memory

Discussion about RailWorks route design.

technique to avoid crash due to insufficient memory

Unread postby gwgardner » Wed Oct 26, 2016 5:28 pm

I have 4 gig memory, and Train Simulator has always been very stable for me when route editing. However today I've been doing a lot of painting of ballast beneath tracks, and twice TS2017 has crashed on me due to 'no more memory.' So basically I need to save more often, and exit the sim I guess, and restart.

To remind myself to do that before another crash, as I proceed painting ballast, I've started keeping 'task monitor' open, as in the screenshot, so I can see current memory usage.

Maybe there are other ways to keep track of this? Let me know please.
You do not have the required permissions to view the files attached to this post.
gwgardner
 
Posts: 701
Joined: Tue Jan 25, 2011 2:34 pm

Re: technique to avoid crash due to insufficient memory

Unread postby buzz456 » Wed Oct 26, 2016 5:36 pm

I just hit F2 real often so that if the game crashes the stuff is mostly saved. The other thing I do is use Iobit Advanced System care which has a monitor that you can "clean ram" Doing this every few minutes seems to cut crashing down almost completely when doing terrain painting of any kind.
Buzz
39 and holding.
"Some people find fault like there's a reward for it."- Zig Ziglar
"If you can dream it you can do it."- Walt Disney
Image
User avatar
buzz456
Site Admin
 
Posts: 20938
Joined: Sun Mar 21, 2010 8:30 am
Location: SW Florida

Re: technique to avoid crash due to insufficient memory

Unread postby JerryC » Wed Oct 26, 2016 8:54 pm

I wonder if a "memory extender" program, such as CS Explorer would help. I used to have tons of crashes when building locomotives with 3DCrafter. The problem wasn't that memory space was filling up, but that 3DC had a built in 1GB memory space usage limit. Using a third party program that could copy and write to the application .exe, I could extend 3DC memory usage to 2GB, which elminated most (but not all) of the crashes.
JerryC
 

Re: technique to avoid crash due to insufficient memory

Unread postby mrennie » Thu Oct 27, 2016 9:23 am

I use this app to extend 3DCrafter to use up to 4GB RAM. I've used it on all the RW exe files too (and have to remember to do it again every time there's a Steam update to the exes).

http://www.ntcore.com/4gb_patch.php
User avatar
mrennie
 
Posts: 3214
Joined: Wed May 30, 2012 12:22 pm

Re: technique to avoid crash due to insufficient memory

Unread postby artimrj » Thu Oct 27, 2016 11:08 am

I thought this was an nVidia bug?? New drivers seemed to fix it as I was having it happen all the time last year.
Bob Artim - Generation X²
I don't have a PHD, I have a DD214... Freedom carries sacrifice
I'm crawling in the dark looking for the answer
User avatar
artimrj
 
Posts: 4722
Joined: Sun Jan 31, 2010 3:07 pm
Location: Beaver, Pennsylvania

Re: technique to avoid crash due to insufficient memory

Unread postby OldProf » Sun Oct 30, 2016 11:43 am

I'll probably be chewed out for stating the obvious, but isn't the best way to extend memory adding more physical memory? And unless I'm mistaken, TS relies on at least two sources of memory, the second residing on the graphics card.

!!jabber!!
Tom Pallen (Old Prof)

{Win 10 Home 64-bit; Intel Core i7 6700 @ 3.40GHz; 16.0GB Single-Channel @ 1063 MHz (15-15-15-364); 2047MB NVIDIA GeForce GTX 960}
User avatar
OldProf
 
Posts: 2743
Joined: Wed Sep 09, 2009 10:09 am

Re: technique to avoid crash due to insufficient memory

Unread postby Alpenfreight » Sun Oct 30, 2016 11:47 am

OldProf wrote:I'll probably be chewed out for stating the obvious, but isn't the best way to extend memory adding more physical memory? And unless I'm mistaken, TS relies on at least two sources of memory, the second residing on the graphics card.

!!jabber!!


It's a 32bit Application so it will never use more than 4gigs
https://alpenfreight.wordpress.com/

I hear the train a comin'
It's rollin' 'round the bend
User avatar
Alpenfreight
 
Posts: 397
Joined: Fri Jan 09, 2015 8:32 am
Location: Boston

Re: technique to avoid crash due to insufficient memory

Unread postby buzz456 » Sun Oct 30, 2016 12:17 pm

Alpenfreight wrote:
OldProf wrote:I'll probably be chewed out for stating the obvious, but isn't the best way to extend memory adding more physical memory? And unless I'm mistaken, TS relies on at least two sources of memory, the second residing on the graphics card.

!!jabber!!


It's a 32bit Application so it will never use more than 4gigs


Yes but if you only have 4 gigs and RW is using most of it then there isn't any left for other things.
Buzz
39 and holding.
"Some people find fault like there's a reward for it."- Zig Ziglar
"If you can dream it you can do it."- Walt Disney
Image
User avatar
buzz456
Site Admin
 
Posts: 20938
Joined: Sun Mar 21, 2010 8:30 am
Location: SW Florida

Re: technique to avoid crash due to insufficient memory

Unread postby artimrj » Sun Oct 30, 2016 12:19 pm

OldProf wrote:I'll probably be chewed out for stating the obvious, but isn't the best way to extend memory adding more physical memory? And unless I'm mistaken, TS relies on at least two sources of memory, the second residing on the graphics card.

!!jabber!!


There was a bug in the NVidia driver that leaked memory. If you had the task manager open and looking at mem usage, you could watch it drop as you painted.
Bob Artim - Generation X²
I don't have a PHD, I have a DD214... Freedom carries sacrifice
I'm crawling in the dark looking for the answer
User avatar
artimrj
 
Posts: 4722
Joined: Sun Jan 31, 2010 3:07 pm
Location: Beaver, Pennsylvania

Re: technique to avoid crash due to insufficient memory

Unread postby gwgardner » Sun Oct 30, 2016 2:50 pm

artimrj wrote:
OldProf wrote:I'll probably be chewed out for stating the obvious, but isn't the best way to extend memory adding more physical memory? And unless I'm mistaken, TS relies on at least two sources of memory, the second residing on the graphics card.

!!jabber!!


There was a bug in the NVidia driver that leaked memory. If you had the task manager open and looking at mem usage, you could watch it drop as you painted.


That's exactly what I see. Near my downtown section, I may have 15% mem left, but as I paint, it gradually goes to the mid-90s, at which point I have to get out of edit mode or rush to some un scenicked portion of the route to get mem usage to drop before it crashes.

I've tried upgrading my Nvidia 580 driver, but the installation of the latest Nvidia driver always fails. I've searched the net for reasons why to no avail.
gwgardner
 
Posts: 701
Joined: Tue Jan 25, 2011 2:34 pm

Re: technique to avoid crash due to insufficient memory

Unread postby gwgardner » Sun Oct 30, 2016 2:52 pm

Alpenfreight wrote:
It's a 32bit Application so it will never use more than 4gigs


I was about to upgrade my memory, but does this mean that is useless, especially along with a Nvidia driver bug? Or perhaps Windows could use the added memory, while Train Simulator hogs the 4 gig?
gwgardner
 
Posts: 701
Joined: Tue Jan 25, 2011 2:34 pm

Re: technique to avoid crash due to insufficient memory

Unread postby JerryC » Sun Oct 30, 2016 3:12 pm

Memory is where your system loads the programs that your computer is using at any given time. This includes TAS programs that are running in the background. Even if Railworks doesn't use it, your system overall would benefit from the increase. It might free up resources for Railworks to use that it is currently sharing with other programs.

And since memory is cheap, then why not get more! I may never need it all, but i've got 32 GB and no worries about ever filling it all up.
JerryC
 

Re: technique to avoid crash due to insufficient memory

Unread postby buzz456 » Sun Oct 30, 2016 3:25 pm

JerryC wrote:Memory is where your system loads the programs that your computer is using at any given time. This includes TAS programs that are running in the background. Even if Railworks doesn't use it, your system overall would benefit from the increase. It might free up resources for Railworks to use that it is currently sharing with other programs.

And since memory is cheap, then why not get more! I may never need it all, but i've got 32 GB and no worries about ever filling it all up.


What Jerry says. I have 16 GB and love it. It is still possible to crash RW because of it's limits but the added memory makes it a lot less of a problem.
Buzz
39 and holding.
"Some people find fault like there's a reward for it."- Zig Ziglar
"If you can dream it you can do it."- Walt Disney
Image
User avatar
buzz456
Site Admin
 
Posts: 20938
Joined: Sun Mar 21, 2010 8:30 am
Location: SW Florida


Return to Route Design

Who is online

Users browsing this forum: No registered users and 1 guest