Author Topic: Increase BC RAM support  (Read 1354 times)

Offline cnotsch

  • Posts: 85
  • Cookies: 3
Increase BC RAM support
« on: February 22, 2009, 09:19:57 AM »
Since I started modding, BC keeps crashing from time to time.
If there are errors, fine i can fix them most of the time.
But what I hate most is when BC crashes because it seems to run out of memory. When som high quality ships (somewhere around 20 depending on the ships) or many low Q ships (somewhere around 100-200) BC crashes as soon as it reaches about 2 gigs of RAM. Is there any possibility to increase the maximum allowed memory.

My SYS:
Q6600 @ 3 - 3,5 GHZ
6Gig DDR3 RAM @ 1800 MHZ
nvidia 790i Ultra Sli chipset
GTX280 SC
Monitor in BC @ 1600x1200

Offline MLeo

  • Retired Staff
  • Posts: 3636
  • Cookies: 833
  • Software Simian
    • the Programming Pantheon
Re: Increase BC RAM support
« Reply #1 on: February 22, 2009, 09:25:37 AM »
BC is locked into 32bits memory address space (meaning a max of 4GB). And windows never allocates more than 2GB (might also be 1.5GB) unless you really start changing core settings (boot settings). I'm afraid I don't know the settings, except that they exist, last time I heard of them was in combination with solving an out of memory issue with VRay (something from 3DS Max), so searching on Google in that direction might yield some more information.


Also, 220 ships is a _lot_.
I still can't read peoples minds, nor can I read peoples computers, even worse, I can't combine the two to read what is going wrong with your BC install...

"It was filed under 'B' for blackmail." - Morse, Inspector Morse - The dead of Jericho.

Offline JimmyB76

  • Posts: 6423
  • Cookies: 421
Re: Increase BC RAM support
« Reply #2 on: February 22, 2009, 11:15:19 AM »
or many low Q ships (somewhere around 100-200)
:shock: goodness!  my computer would explode if i tried that lol :P

Offline cnotsch

  • Posts: 85
  • Cookies: 3
Re: Increase BC RAM support
« Reply #3 on: February 22, 2009, 03:48:38 PM »
or many low Q ships (somewhere around 100-200)
:shock: goodness!  my computer would explode if i tried that lol :P
I've payed enough to have that kind of power XD
BC is locked into 32bits memory address space (meaning a max of 4GB). And windows never allocates more than 2GB (might also be 1.5GB) unless you really start changing core settings (boot settings). I'm afraid I don't know the settings, except that they exist, last time I heard of them was in combination with solving an out of memory issue with VRay (something from 3DS Max), so searching on Google in that direction might yield some more information.


Also, 220 ships is a _lot_.
Other games/programs use more than 4GB ram without problems...
And 200 ships are not nearly as many as there were in ds9, but it's quite a fight...

Offline MLeo

  • Retired Staff
  • Posts: 3636
  • Cookies: 833
  • Software Simian
    • the Programming Pantheon
Re: Increase BC RAM support
« Reply #4 on: February 22, 2009, 05:11:57 PM »
BC is 7 years old. Yeah, Homeworld routinely had 700 ships on screen, but the models were 10 times smaller. If a model had more than 200 polygons, it would be considered much, in BC, a model of a 1000 polygons would be considerd small.

Based on the limitations of 32bit memory address space, BC is physically unable to address more than 4GB. Assuming Windows even allows it.
Normally, Windows only allows up to 1.5GB of space to be used by a single program.
I still can't read peoples minds, nor can I read peoples computers, even worse, I can't combine the two to read what is going wrong with your BC install...

"It was filed under 'B' for blackmail." - Morse, Inspector Morse - The dead of Jericho.

Offline cnotsch

  • Posts: 85
  • Cookies: 3
Re: Increase BC RAM support
« Reply #5 on: February 22, 2009, 05:19:04 PM »
OK, would have been nice to fix, but seems impossible  :(
Thanks anyway

Offline ChronowerX_GT

  • ChronowerX Productions - Founder
  • Posts: 809
  • Cookies: 36
    • ChronowerX Productions
Re: Increase BC RAM support
« Reply #6 on: February 22, 2009, 05:21:21 PM »
Based on the limitations of 32bit memory address space, BC is physically unable to address more than 4GB. Assuming Windows even allows it.
Normally, Windows only allows up to 1.5GB of space to be used by a single program.

So is that why a lot of high end gaming rigs only have 2gb ram?


Having a smoking section in a restaurant is kinda like having a peeing section in a pool...

Offline MLeo

  • Retired Staff
  • Posts: 3636
  • Cookies: 833
  • Software Simian
    • the Programming Pantheon
Re: Increase BC RAM support
« Reply #7 on: February 22, 2009, 05:25:10 PM »
Based on the limitations of 32bit memory address space, BC is physically unable to address more than 4GB. Assuming Windows even allows it.
Normally, Windows only allows up to 1.5GB of space to be used by a single program.

So is that why a lot of high end gaming rigs only have 2gb ram?
Not sure, if it's a 64bit CPU, with a 64bit OS, then they could address way more, but not a lot of motherboards support more than 8 or 16GB.

But Windows also takes it's memory, of course.
I still can't read peoples minds, nor can I read peoples computers, even worse, I can't combine the two to read what is going wrong with your BC install...

"It was filed under 'B' for blackmail." - Morse, Inspector Morse - The dead of Jericho.

Offline Aeries

  • Posts: 1446
  • Cookies: 226
Re: Increase BC RAM support
« Reply #8 on: February 23, 2009, 07:54:09 PM »
Based on the limitations of 32bit memory address space, BC is physically unable to address more than 4GB. Assuming Windows even allows it.
Normally, Windows only allows up to 1.5GB of space to be used by a single program.

So is that why a lot of high end gaming rigs only have 2gb ram?
Not sure, if it's a 64bit CPU, with a 64bit OS, then they could address way more, but not a lot of motherboards support more than 8 or 16GB.

But Windows also takes it's memory, of course.

My motherboard is supposedly able to support 4gigs of ram, but for whatever reason it's only recognizing 3.37gb of that... at first i thought it was the video card being a 1gb DDR-2 card, but then i got wondering, why the hell wouldn't the system just read a flat 3gb, then? has me much confuzzled, it does. Looks like i be a needin' another motherboard, aye? :P [before anyone asks, yes, i'm on a 64-bit OS. XP Pro x64 to be exact... one microsoft has greatly failed to acknowledge. i mean, come on, i have to manually alter code in wlm's installer in order for it to install on this bloody thing. WLM! one of the most common Microsoft products! and they didn't even care enough to make it compatible with XP x64! wtf mate!?] anyways, sorry. rant done.

Offline ChronowerX_GT

  • ChronowerX Productions - Founder
  • Posts: 809
  • Cookies: 36
    • ChronowerX Productions
Re: Increase BC RAM support
« Reply #9 on: February 23, 2009, 08:21:48 PM »
I just got the Asus p5q pro. Pretty cheap but looks good to me. 16gb ram, Core 2 Quad, 6x Sata, That really quick built in linux that boots up in 5 seconds lol. 2x pci-e (the smaller one, forgot what's called lol), Big PCI-E for GFX and 3 PCI. Seemed decent for ?70.


Having a smoking section in a restaurant is kinda like having a peeing section in a pool...

Offline Aeries

  • Posts: 1446
  • Cookies: 226
Re: Increase BC RAM support
« Reply #10 on: February 23, 2009, 08:30:22 PM »
I just got the Asus p5q pro. Pretty cheap but looks good to me. 16gb ram, Core 2 Quad, 6x Sata, That really quick built in linux that boots up in 5 seconds lol. 2x pci-e (the smaller one, forgot what's called lol), Big PCI-E for GFX and 3 PCI. Seemed decent for ?70.

GIMME GIMME!
I'm stuck with some Asus P5GC-MX/1333. lowest of the low end, methinks.

i remember vaguely something being mentioned in my system BIOS about the ram... I'll reboot and edit this post with what it was, exactly... i don't remember off the top of my head...

Offline MLeo

  • Retired Staff
  • Posts: 3636
  • Cookies: 833
  • Software Simian
    • the Programming Pantheon
Re: Increase BC RAM support
« Reply #11 on: February 24, 2009, 06:49:51 AM »
Sometimes those kind of numbers lie, for example, on a HDD (and memory as well) they say it's 1 TB, but what they mean is 1000000000000 bytes, and not 1024x1024x1024x1024 bytes, 1 kilobyte is 1024 bytes, 1 megabyte is 1024 kilobytes, 1 gigabyte is 1024 megabyte and 1 terabyte is 1024 gigabytes.
Or 1099511627776 bytes.
I still can't read peoples minds, nor can I read peoples computers, even worse, I can't combine the two to read what is going wrong with your BC install...

"It was filed under 'B' for blackmail." - Morse, Inspector Morse - The dead of Jericho.

Offline ChronowerX_GT

  • ChronowerX Productions - Founder
  • Posts: 809
  • Cookies: 36
    • ChronowerX Productions
Re: Increase BC RAM support
« Reply #12 on: February 24, 2009, 09:24:45 AM »
Sometimes those kind of numbers lie, for example, on a HDD (and memory as well) they say it's 1 TB, but what they mean is 1000000000000 bytes, and not 1024x1024x1024x1024 bytes, 1 kilobyte is 1024 bytes, 1 megabyte is 1024 kilobytes, 1 gigabyte is 1024 megabyte and 1 terabyte is 1024 gigabytes.
Or 1099511627776 bytes.

So you mean that you lose out on 24gb with some 1tb hdd's? Although it's not much in the long run lol.


Having a smoking section in a restaurant is kinda like having a peeing section in a pool...

Offline MLeo

  • Retired Staff
  • Posts: 3636
  • Cookies: 833
  • Software Simian
    • the Programming Pantheon
Re: Increase BC RAM support
« Reply #13 on: February 24, 2009, 10:30:51 AM »
It doesn't have to be, but it has happend.

In the worst case, you lose out of 99511627776 bytes, or 92 and then some, gigabyte.
I still can't read peoples minds, nor can I read peoples computers, even worse, I can't combine the two to read what is going wrong with your BC install...

"It was filed under 'B' for blackmail." - Morse, Inspector Morse - The dead of Jericho.

PJCham

  • Guest
Re: Increase BC RAM support
« Reply #14 on: February 24, 2009, 11:32:22 AM »
Probably the easiest way to check if your OS is using all the RAM is by running the default Sound Recorder. Record a sound and then attempt to edit it ... if the program crashes (telling you it's out of memory), you possibly have more RAM than the OS can support.

Offline Aeries

  • Posts: 1446
  • Cookies: 226
Re: Increase BC RAM support
« Reply #15 on: February 24, 2009, 03:29:07 PM »
Ah, turns out my bios has "appropriated" over 600Mb of my ram... no idea what that means, though. :/ *grumble grumble* This whole issue gives me a headache and somehow, i think it's simply a motherboard issue...

...and the cat just purred at me despite my yelling at it to eff off a moment ago...
o.o; anyways, sorry for the off-topic................ *shuffles slowly away from the feline*