Out of Virtual Memory Error

Post your questions here
Post Reply
ddmx
Posts: 5376
Joined: Sun Apr 20, 2008 3:36 pm
Location: Midland MI

Out of Virtual Memory Error

Post by ddmx »

First time I've ever seen this error:
The NVIDIA OpenGL driver has encountered
an out of memory error. This application might
behave inconsistently and fail.
(pid=17064 mx.exe 32bit)
Was opening one of the GP tracks at high res for time trial. Crashed on statue loading.
ddmx
Posts: 5376
Joined: Sun Apr 20, 2008 3:36 pm
Location: Midland MI

Re: Out of Virtual Memory Error

Post by ddmx »

Image


Image
ddmx
Posts: 5376
Joined: Sun Apr 20, 2008 3:36 pm
Location: Midland MI

Re: Out of Virtual Memory Error

Post by ddmx »

So likely an issue with the High version of Maggiora? Had not had any issues with High detail versions previously so did not consider this.

Interesting that the High version says it loaded 842mb texture memory where the Medium version says 3328mb. The High version maxed out the dedicated memory usage on my 6gb card.

Image
jlv
Site Admin
Posts: 15182
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

Re: Out of Virtual Memory Error

Post by jlv »

Are you certain it's crashing loading the statues? It should be past that if it's showing the texture memory count. Try running it with --debug and looking in the lastlog file.
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
ddmx
Posts: 5376
Joined: Sun Apr 20, 2008 3:36 pm
Location: Midland MI

Re: Out of Virtual Memory Error

Post by ddmx »

Unfortunately it's not looking reliably repeatable. Lastlog is interesting to look through but nothing overly suspicious.

Still, a substantial amount of dedicated GPU memory usage. Think it's due solely to the track? For reference, GP round 6 uses ~4.7gb GPU memory and is showing 3571 MB texture memory usage.

Image
jlv
Site Admin
Posts: 15182
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

Re: Out of Virtual Memory Error

Post by jlv »

Just realized it's going over the 32 bit 4gb limit . That's why the high version reads lower than the medium. The 32 bit counter wrapped around. It is possible for the OpenGL driver to use more than 4gb of textures but only if it doesn't keep them mapped in system memory after it sends it to the graphics card. That's the same reason it's running out of memory. Not sure why it would keep it mapped sometimes and unmap it other times. The game itself deallocates images once they've been sent to OpenGL.
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
Post Reply