Large Map Giving Fatal Error

Large Map Giving Fatal Error

Discuss maps & map creation - from concept to execution to the ever elusive release.

Moderator: Moderators

Post Reply
User avatar
oksnoop2
Posts: 1207
Joined: 29 Aug 2009, 20:12

Large Map Giving Fatal Error

Post by oksnoop2 »

Thanks to information gleamed from my last topic my friend was able to create a 64x64 map in SME. (I only have two gigs of RAM) When he trys to run the map in Spring it crashes from a Fatal Error. On that, he had this to say " okay, so after a bit of research, the error message i got which read "std::bad_alloc" is actually a C++ error....which occurs when the program fails to allocate enough memory" So that being said Is there anyway to make spring run 64x64 maps? If that's not possible what is the largest that it can handle?
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: Large Map Giving Fatal Error

Post by Beherith »

Post whole infolog.txt
User avatar
m00nthel00n
Posts: 6
Joined: 04 Oct 2009, 16:32

Re: Large Map Giving Fatal Error

Post by m00nthel00n »

Here's the aforementioned infolog, don't know that there is much to be learned from it though


LogOutput initialized.
Spring 0.80.5.2 (0.80.5.2-0-g67e2f5b{@}-cmake-mingw32)
Available log subsystems: mapinfo, CollisionVolume, unit, VFS-detail, VFS, ArchiveScanner, Sound
Enabled log subsystems: Sound
Enable or disable log subsystems using the LogSubsystems configuration key
or the SPRING_LOG_SUBSYSTEMS environment variable (both comma separated).
using configuration source "C:\Users\Andy\AppData\Local\springsettings.cfg"
[CMyMath::Init] CPU SSE mask: 120, flags:
SSE 1.0: 1, SSE 2.0: 1
SSE 3.0: 1, SSSE 3.0: 0
SSE 4.1: 0, SSE 4.2: 0
SSE 4.0A: 0, SSE 5.0A: 0
using streflop SSE FP-math mode, CPU supports SSE instructions
OS: Microsoft Windows
Microsoft (build 7100)
AMD Athlon(tm) 64 X2 Dual Core Processor 6400+; 4095MB RAM, 8188MB pagefile
OS: emulated 32bit mode
Using read-write data directory: C:\Program Files (x86)\Spring\
Using read-only data directory: C:\Users\Andy\Documents\My Games\Spring\
Using read-only data directory: C:\Users\Andy\Documents\Spring\
Using read-only data directory: C:\ProgramData\Spring\
Scanning: C:\ProgramData\Spring\maps
Scanning: C:\ProgramData\Spring\base
Scanning: C:\ProgramData\Spring\mods
Scanning: C:\ProgramData\Spring\packages
Scanning: C:\Users\Andy\Documents\Spring\maps
Scanning: C:\Users\Andy\Documents\Spring\base
Scanning: C:\Users\Andy\Documents\Spring\mods
Scanning: C:\Users\Andy\Documents\Spring\packages
Scanning: C:\Users\Andy\Documents\My Games\Spring\maps
Scanning: C:\Users\Andy\Documents\My Games\Spring\base
Scanning: C:\Users\Andy\Documents\My Games\Spring\mods
Scanning: C:\Users\Andy\Documents\My Games\Spring\packages
Scanning: C:\Program Files (x86)\Spring\maps
Scanning: C:\Program Files (x86)\Spring\base
Scanning: C:\Program Files (x86)\Spring\mods
Scanning: C:\Program Files (x86)\Spring\packages
Video mode set to 1024 x 768 / 32 bit
[ 0] SDL: 1.2.10
[ 0] GL: 3.2.0
[ 0] GL: NVIDIA Corporation
[ 0] GL: GeForce 8600 GT/PCI/SSE2
[ 0] GLEW: 1.4.0
[ 0] Joysticks found: 0
[ 0] Joystick 0 not found
[ 0] Connecting to local server
[ 0] Starting GameServer: 135 ms
[ 0] Starting demo recording
[ 0] Using map 64test.smf
[ 0] Recording demo demos/local_20091130_222649_64test_0.80.5.sdf
[ 0] Using script Commanders
[ 0] Using mod Balanced Annihilation V7.04
[ 0] Using mod archive BA704.sd7
[ 0] Loading client data: 51 ms
[ 0] User number 0 (team 0, allyteam 0)
[ 0] Loading console: 0 ms
[ 0] Sound: OpenAL info:
[ 0] Sound: Vendor: Creative Labs Inc.
[ 0] Sound: Version: 1.1
[ 0] Sound: Renderer: Software
[ 0] Sound: AL Extensions: EAX EAX2.0 EAX3.0 EAX4.0 EAX5.0 EAX3.0EMULATED EAX4.0EMULATED AL_EXT_OFFSET AL_EXT_LINEAR_DISTANCE AL_EXT_EXPONENT_DISTANCE
[ 0] Sound: ALC Extensions: ALC_ENUMERATE_ALL_EXT ALC_ENUMERATION_EXT ALC_EXT_CAPTURE ALC_EXT_EFX
[ 0] Sound: Device: Generic Software
[ 0] Sound: Available Devices:
[ 0] Sound: Generic Software
[ 0] Sound: parsed 4 sounds from gamedata/sounds.lua
[ 0] Loading sounds: 55 ms
[ 0] Camera and mouse: 129 ms
[ 0] Parsing unit icons
[ 0] Parsing definitions
[ 0] Loading all definitions: 0.408000
[ 0] Loading defs: 440 ms
[ 0] You are missing the "ARB_shadow_ambient" extension (this will probably make shadows darker than they should be)
[ 0] Loading map informations
[ 0] Opening map file
[ 0] Loading Map
[ 0] Loading detail textures
[ 0] Creating overhead texture
[ 0] Creating ground shading
[ 0] Loading .smt tile-file "maps/64test.smt"
[ 0] Loading 558775 tiles from file 1/1
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Large Map Giving Fatal Error

Post by Forboding Angel »

On what stage of loading does it crash?
User avatar
m00nthel00n
Posts: 6
Joined: 04 Oct 2009, 16:32

Re: Large Map Giving Fatal Error

Post by m00nthel00n »

Loading 558775 tiles from file 1/1
Auswaschbar
Spring Developer
Posts: 1254
Joined: 24 Jun 2007, 08:34

Re: Large Map Giving Fatal Error

Post by Auswaschbar »

You might be able to use this map with a 64bit build of spring.
User avatar
m00nthel00n
Posts: 6
Joined: 04 Oct 2009, 16:32

Re: Large Map Giving Fatal Error

Post by m00nthel00n »

I've had a look around and I've not found a 64-bit version floating around for windows. Maybe it's terribly obvious and i just don't see it, if that's the case I'm sorry for being so ignorant.
Auswaschbar
Spring Developer
Posts: 1254
Joined: 24 Jun 2007, 08:34

Re: Large Map Giving Fatal Error

Post by Auswaschbar »

m00nthel00n wrote:I've had a look around and I've not found a 64-bit version floating around for windows. Maybe it's terribly obvious and i just don't see it, if that's the case I'm sorry for being so ignorant.
Currently only for linux.
Post Reply

Return to “Map Creation”