'System.OutOfMemoryException'?
+2
Dexter
hasnotif
6 posters
Page 1 of 1
'System.OutOfMemoryException'?
I've been developing a route just for the fun of it, and after throwing in some huge numbers with lots of decimal places for some trackwork, I get this message when trying to open it in openBVE: (download the attachment)
I checked the amount of memory left in my computer - 208GB free of 244GB. I've been trying to figure out the nature of this problem, but my ICT knowledge is limited. I really need some help from more experienced and knowledgeable people here.
Thanks for your help in advance.
I checked the amount of memory left in my computer - 208GB free of 244GB. I've been trying to figure out the nature of this problem, but my ICT knowledge is limited. I really need some help from more experienced and knowledgeable people here.
Thanks for your help in advance.
- Attachments
hasnotif- Posts : 19
Join date : 2012-03-23
Re: 'System.OutOfMemoryException'?
Looks like the calculations are too complex - I think it will be connected rather to the video card memory, than to physical RAM. How many decimal places do you use and what is you Graphic card?
Re: 'System.OutOfMemoryException'?
I think there are about close to 10 decimal places. Meanwhile how do I check what graphics card my computer has?
hasnotif- Posts : 19
Join date : 2012-03-23
Re: 'System.OutOfMemoryException'?
Try using fewer decimal places I'd say 10 was way too many, given that 3 will give you millimetre accuracy, 6 will give you micron accuracy and 9 will give you nanometre accuracy. Computer chips are measured on a nanometre scales, so I think 10 decimal places for a simulated railway might be a touch too complex.
LabRatAndy- Posts : 101
Join date : 2011-08-29
Re: 'System.OutOfMemoryException'?
LabRatAndy wrote:Try using fewer decimal places I'd say 10 was way too many, given that 3 will give you millimetre accuracy, 6 will give you micron accuracy and 9 will give you nanometre accuracy. Computer chips are measured on a nanometre scales, so I think 10 decimal places for a simulated railway might be a touch too complex.
True.
Re: 'System.OutOfMemoryException'?
hasnotif wrote:I've been developing a route just for the fun of it, and after throwing in some huge numbers with lots of decimal places for some trackwork, I get this message when trying to open it in openBVE: (download the attachment)
I checked the amount of memory left in my computer - 208GB free of 244GB. I've been trying to figure out the nature of this problem, but my ICT knowledge is limited. I really need some help from more experienced and knowledgeable people here.
Thanks for your help in advance.
A computer has two main types of "memory", long-term (hard disk, which is the 244GB you mentioned) and short-term (RAM, also called "memory").
When you get an out-of-memory error, it's about your computer's short-term memory, or the "RAM".
How much memory do you have installed? If you are on Windows 7, open your start menu, right click Computer, and click Properties, and you'll find it there.
Re: 'System.OutOfMemoryException'?
@JoeyFoo:
I checked, and my computer has 4GB of RAM.
@LabRatAndy:
Alright, will try decreasing the number of decimal places and see if it works.
UPDATE: Decreased the number of decimal places to 3, and openBVE works fine!
I checked, and my computer has 4GB of RAM.
@LabRatAndy:
Alright, will try decreasing the number of decimal places and see if it works.
UPDATE: Decreased the number of decimal places to 3, and openBVE works fine!
hasnotif- Posts : 19
Join date : 2012-03-23
Re: 'System.OutOfMemoryException'?
does this happen when you are using route viewer ?...I have found that after several refreshes on a high demanding route file it happens on my laptop, i deal with it by restarting route viewer, there was an earlier thread about this...
mobile1- Posts : 136
Join date : 2011-08-22
out of system memory
Further to my last post, I`ve since discovered a small freeware program that will help to identify where the memory loss is happening...download MemStatus by Kevin Reems...http://www.nuclearplayground.com/NuclearPlayground/MemStatus/.....
What i did find was interesting...when using route viewer the system ram is not released back, which makes route viewer throw up an exception when the ram used gets to around 87%, now that doesnt make a lot of difference using my pc, with the usual 4gb ram (XP) but on my laptop which only has 2gb ram it crashes quite a lot, probably because the new route files are memory intensive...
Perhaps someone with more knowledge of computing will make sense of this.......regards
What i did find was interesting...when using route viewer the system ram is not released back, which makes route viewer throw up an exception when the ram used gets to around 87%, now that doesnt make a lot of difference using my pc, with the usual 4gb ram (XP) but on my laptop which only has 2gb ram it crashes quite a lot, probably because the new route files are memory intensive...
Perhaps someone with more knowledge of computing will make sense of this.......regards
mobile1- Posts : 136
Join date : 2011-08-22
Re: 'System.OutOfMemoryException'?
Yes, 2 decimal places is already up to a 1cm precision, so there is actually no point to use that "accurate".hasnotif wrote:Decreased the number of decimal places to 3, and openBVE works fine!
alvinhochun- Posts : 88
Join date : 2012-05-08
Location : Hong Kong
Similar topics
» SDL cant launch my video sub system???
» PassAlarm system does not work
» Your Thoughts on the Warning Bar System
» Assignment of custom indicators with BVEC ATS System
» Is possible to implement LOD system for static object?
» PassAlarm system does not work
» Your Thoughts on the Warning Bar System
» Assignment of custom indicators with BVEC ATS System
» Is possible to implement LOD system for static object?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum