hotkey to flush the 'undo' buffer OR turn it off completely

Discussion about RailWorks route design.

hotkey to flush the 'undo' buffer OR turn it off completely

Unread postby gwgardner » Mon Apr 03, 2017 2:39 pm

I think the solution to the constant CTDs while editing/painting, is to find a better way to flush the 'undo' buffer rather than having to constantly save, get out of the editor, and get back in.

On my system with my route, when I start editing, approx 2.6 gig memory is used by TS. As I click the paint button, for instance painting ground textures, memory usage goes up x number of meg with each click, accumulating quickly. By the time it reaches close to 3.5 gig usage, I have to click the exit arrow for editing, in order to save what I've done and let TS flush the undo buffer. Memory usage goes back to around 2.6 gig, and I keep going like that.

Anyone know of a hotkey, while editing, that will flush the undo buffer? Or one that disables 'undo?' Or perhaps a command line option to disable 'undo?'
Last edited by gwgardner on Mon Apr 03, 2017 3:50 pm, edited 1 time in total.
gwgardner
 
Posts: 701
Joined: Tue Jan 25, 2011 2:34 pm

Re: how to flush the 'undo' buffer OR turn it off completely

Unread postby ssbobz » Mon Apr 03, 2017 2:43 pm

Doesn't an F2 save allow you to save without exiting the editor?

eta~ I suppose that doesn't clear the memory though in any event.
ssbobz
 
Posts: 551
Joined: Thu Feb 11, 2016 10:54 am

Re: how to flush the 'undo' buffer OR turn it off completely

Unread postby artimrj » Mon Apr 03, 2017 2:46 pm

WHen I had that problem, when memory was short, go and place some other objects and you ill see the memory coming back. Then you can paint some more.
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: 4749
Joined: Sun Jan 31, 2010 3:07 pm
Location: Beaver, Pennsylvania

Re: hotkey to flush the 'undo' buffer OR turn it off completely

Unread postby GreatNortherner » Tue Apr 04, 2017 8:38 am

On my system, running RW in windowed mode also seems to help prolong the time I can edit the terrain paint without crashing. I can also confirm Bob's workaround, just go back to world edit mode after painting a small area and place a few trees on a couple of tiles, press F2, then go back to painting. Also, it doesn't really depend on the area you paint, but more on how many mouse clicks of the paint tool you do it with. So you can paint huge areas with a 500-size brush in one go, but applying many small patches of paint might lead to the lock-up much quicker.

Cheers
Michael
User avatar
GreatNortherner
 
Posts: 1586
Joined: Sun Feb 15, 2009 11:19 am
Location: Czech Republic

Re: hotkey to flush the 'undo' buffer OR turn it off completely

Unread postby gwgardner » Tue Apr 04, 2017 11:43 am

Thanks for the replies. I tried that technique, putting some trees in the quicklist, and varying the paint with placing trees. Release memory over time. I still wish there were a hotkey for flush, to release a large amount of memory immediately.

I tend to do a lot of clicks in painting, trying to blend textures, so run into quick trouble.

surely this memory problem has been reported many times to DTG over the years. Guess it's way down on their list of priorities.
gwgardner
 
Posts: 701
Joined: Tue Jan 25, 2011 2:34 pm


Return to Route Design

Who is online

Users browsing this forum: No registered users and 2 guests

cron