Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/20/24 01:28
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, Ayumi), 838 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
D3D E_OUTOFMEMORY #229494
09/27/08 23:05
09/27/08 23:05
Joined: Jan 2007
Posts: 651
Germany
R
RedPhoenix Offline OP
User
RedPhoenix  Offline OP
User
R

Joined: Jan 2007
Posts: 651
Germany
I receive this error message when loading more than 41 100*100 terrain files. But I'm quite sure that the engine and my system should be able to handle much more terrain, as the framerate is still very high (~300 in windowed mode) when having loaded already 40 terrain files. So what's the problem with having that much terrain files?

Re: D3D E_OUTOFMEMORY [Re: RedPhoenix] #229505
09/28/08 08:11
09/28/08 08:11
Joined: Sep 2003
Posts: 9,859
F
FBL Offline
Senior Expert
FBL  Offline
Senior Expert
F

Joined: Sep 2003
Posts: 9,859
What does your video memory consumption look like?
Do you use shared textures?


Re: D3D E_OUTOFMEMORY [Re: FBL] #229511
09/28/08 09:11
09/28/08 09:11
Joined: Jan 2007
Posts: 651
Germany
R
RedPhoenix Offline OP
User
RedPhoenix  Offline OP
User
R

Joined: Jan 2007
Posts: 651
Germany
I have a great increase of bitmap memory consumption and that's propably because I recreate the first two skins of each terrain file. But this should be capable by the engine as well, as every terrain file I load could have this amount of skins as well which would have to be loaded in this case too.

EDIT: some more info:
I have now decreased the bmp video consumption by 150%. This changes nothing. Referring to the statistics panel I should have more than 600Mb free memory for video consumption, so I don't see a lack of memory here. It seems that I receive the error in the moment I have more than 100k triangles visible per second.

Last edited by RedPhoenix; 09/28/08 09:31.
Re: D3D E_OUTOFMEMORY [Re: RedPhoenix] #229512
09/28/08 09:29
09/28/08 09:29
Joined: Sep 2003
Posts: 9,859
F
FBL Offline
Senior Expert
FBL  Offline
Senior Expert
F

Joined: Sep 2003
Posts: 9,859
You should be careful with the number A7 gives you. I had a system where some reserved ram area for dumping currently unused bitmaps was counted as available video memory.
Check the specs of your graphics adapter to be sure.

Might be another d3d related limitation, though.

Re: D3D E_OUTOFMEMORY [Re: FBL] #229643
09/29/08 09:40
09/29/08 09:40
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
A7 reads the free video memory amount from the DirectX driver. It's theoretically possible that the driver gives a wrong number, but the numbers I've seen so far were correct.

Video memory is consumed mainly by textures meshes.

The E_OUTOFMEMORY error message is not from the engine but from DirectX, so maybe the reason is something else. I've seen wrong DirectX error message before. It would be useful to know which command causes the error message.

Re: D3D E_OUTOFMEMORY [Re: jcl] #229717
09/29/08 21:25
09/29/08 21:25
Joined: Aug 2001
Posts: 2,320
Alberta, Canada
William Offline
Expert
William  Offline
Expert

Joined: Aug 2001
Posts: 2,320
Alberta, Canada
I have received this error as well. Although, I thought that by the time I switch over too .dds there should be no problem. However, I don't understand why it would appear and crash the program, as I have sufficient memory.


Check out Silas. www.kartsilas.com

Hear my band Finding Fire - www.myspace.com/findingfire

Daily dev updates - http://kartsilas.blogspot.com/

Moderated by  old_bill, Tobias 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1