Page 2 of 2

RE: Always ctd after setup

Posted: Mon Nov 25, 2013 1:27 pm
by ericbabe
Do you happen to know whether it the same error each time -- in PiecePrototype.MakePiece?

I have a GTX video card with 2GB, and when I'm running in dual monitor mode with high resolution units I also get the same out of memory error you are seeing when I run certain scenarios. So it's possible to run out of video memory even with a high-end GTX card, especially if you're running in a configuration (such as with more than one monitor or with other applications in the background) that are allocating chunks of video memory.

Your first post says you always get this error, but your last post mentioned that it only happens with a few scenarios. Do you have a list of the scenarios that are causing this problem?

RE: Always ctd after setup

Posted: Thu Dec 05, 2013 12:29 pm
by Krupinski
ORIGINAL: ericbabe

Do you happen to know whether it the same error each time -- in PiecePrototype.MakePiece?

I have a GTX video card with 2GB, and when I'm running in dual monitor mode with high resolution units I also get the same out of memory error you are seeing when I run certain scenarios. So it's possible to run out of video memory even with a high-end GTX card, especially if you're running in a configuration (such as with more than one monitor or with other applications in the background) that are allocating chunks of video memory.

Your first post says you always get this error, but your last post mentioned that it only happens with a few scenarios. Do you have a list of the scenarios that are causing this problem?

I' ve just one monitor and didn't activate any of those graphic-card settings.
I've 3 gig of video memory so i cant (at best will) believe that it has something to do with that hardware (i can play high end shooter-games..)
Sorry, i always get the error when playing nutcracker, most of the other scenarios run fine...

RE: Always ctd after setup

Posted: Thu Dec 12, 2013 3:05 pm
by ericbabe
It is somewhat of a common misconception that 3D objects must take up more memory than 2D objects, so players who run big shooter games assume that those shooter games must make large demands on their video cards because they have many 3D objects. However, 3D objects can make a relatively compact use of memory compared to 2D objects -- for instance, it may be surprising but one of our 3,000 polygon tanks at the low texture settings actually takes up less memory on the video card than the corresponding 2D chit. So it is quite possible in general to have out-of-memory issues even when the video card is not tracking millions of polygons.

It's also possible to get out-of-memory errors when there is still memory left to be allocated on a device. An out-of-memory error occurs after a time-out interval if the device fails to return the requested memory fast enough. This may be happening in your situation, and it may be related to the refresh on the billboard graphics -- the stalks of wheat or similar -- as they go in-and-out of fog-of-war. The refresh of these items on the video card may be happening faster than the card can fulfill the refresh requests. Perhaps try playing "Nutcracker" with the scenery density turned down in the Preferences screen and see whether that helps. If this does help -- if my suspicions are correct -- I'll check the XNA blogs to see whether there is anything I can have the code do to handle this error-situation more gracefully.

RE: Always ctd after setup

Posted: Wed Jan 22, 2014 11:07 pm
by jack54
ORIGINAL: hafer

I' ve just one monitor and didn't activate any of those graphic-card settings.
I've 3 gig of video memory so i cant (at best will) believe that it has something to do with that hardware (i can play high end shooter-games..)
Sorry, i always get the error when playing nutcracker, most of the other scenarios run fine...

Eric just thought I'd let you know I also get the same error when starting 'Nutcracker'...
GeForce 650 1gig...16GB ram... Windows 8.1


Image

RE: Always ctd after setup

Posted: Wed Feb 12, 2014 1:46 pm
by ericbabe
Thanks for the post of the popup. That looks like a straight-up out-of-video-memory error. I can load Nutcracker on our machine with a 1GB video card, so there must be some difference in the way that Windows is grabbing some of this memory for itself on our different machines. Have you been able to solve this by reducing some of the graphics settings?

RE: Always ctd after setup

Posted: Thu Feb 13, 2014 12:06 am
by jack54
sorry but no difference... The thing is it crashes with same pop-up at the same time. Immediately after setup before turn 1.

Western Approach plays but crashes before final score display... this is an inability to write to folder error yet all other scenarios display the score fine
I'm running as Administrator in 8.1.


Thanks for any help Eric... I really like the game and would LOVE to add SOS to the mix but I'm concerned about more crashing.

Thanks and all the BEST!

Jack