Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Out of memory while generating pathfind
Out of memory while generating pathfind [message #366532] Thu, 08 January 2009 15:03 Go to next message
rrutk is currently offline  rrutk
Messages: 617
Registered: June 2007
Karma: 0
Colonel
Out of memory while generating pathfind:

I made a new map for version 3.0 of my Mod.
It's large, but not sooo large (1000x1000 Meters).

I wanted to generate the pathfinding, but got "out of memory"!
It stopped arround 26.000.000 Boxes (from about 29.000.000).

I have 2 GByte RAM. Raising the Windows swap file from 6 GByte to 9 GByte changed nothing???

How can I solve this problem?
Re: Out of memory while generating pathfind [message #366533 is a reply to message #366532] Thu, 08 January 2009 15:04 Go to previous messageGo to next message
mrãçķz is currently offline  mrãçķz
Messages: 3069
Registered: August 2007
Karma: 0
General (3 Stars)
Permabanned for trying and failing DDoS
Try this:

Nero wrote on Wed, 07 January 2009 15:10

Do this:
- Right click leveledit.exe
- Go to 'Properties'
- Go to 'Compatibility'
- Check 'Disable all visual themes for this application.'

It's a known bug, this should fix it.

Re: Out of memory while generating pathfind [message #366534 is a reply to message #366533] Thu, 08 January 2009 15:07 Go to previous messageGo to next message
rrutk is currently offline  rrutk
Messages: 617
Registered: June 2007
Karma: 0
Colonel
I have this setting on the leveledit-link. I can try to disbale my complete theme-service...

[Updated on: Thu, 08 January 2009 15:08]

Report message to a moderator

Re: Out of memory while generating pathfind [message #366535 is a reply to message #366532] Thu, 08 January 2009 15:10 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
Unfortunatly LevelEdit is rather memory intensive when generating pathfind. If your running a 32bit version of Windows then whats probably happening is it's hitting the 2gb virtual size limit for 32bit applications, and no amount of swap file will help you there. Short of installing a 64bit version of Windows your only other option is probably to simply make the map smaller.

http://steamsignature.com/card/1/76561197975867233.png

[Updated on: Thu, 08 January 2009 15:11]

Report message to a moderator

Re: Out of memory while generating pathfind [message #366539 is a reply to message #366535] Thu, 08 January 2009 15:39 Go to previous messageGo to next message
rrutk is currently offline  rrutk
Messages: 617
Registered: June 2007
Karma: 0
Colonel
danpaul88 wrote on Thu, 08 January 2009 16:10

Unfortunatly LevelEdit is rather memory intensive when generating pathfind. If your running a 32bit version of Windows then whats probably happening is it's hitting the 2gb virtual size limit for 32bit applications, and no amount of swap file will help you there. Short of installing a 64bit version of Windows your only other option is probably to simply make the map smaller.


But XP can manage up to 3,2 GB RAM?

So, may be, I can use the computer of my girlfreind, she has 3,2 GB installed?

Also, there are really large maps, like Last_Stand - I dont think, they had a 64 bit OS...

Or, I read something about pathfind blockers?

[Updated on: Thu, 08 January 2009 16:38]

Report message to a moderator

Re: Out of memory while generating pathfind [message #366558 is a reply to message #366532] Thu, 08 January 2009 16:59 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
No, it's not about the amount of RAM in the computer, under a 32bit operating system a single program can only address up to 2gb of RAM, regardless of how much exists and is available to use.

Pathfind blockers are possibly another option, if you want to block off certain areas to the AI. Whether it will actually reduce the memory load enough to get you through the pathfind generation is anyone's guess, try it and see.


http://steamsignature.com/card/1/76561197975867233.png
Re: Out of memory while generating pathfind [message #366565 is a reply to message #366558] Thu, 08 January 2009 17:11 Go to previous messageGo to next message
rrutk is currently offline  rrutk
Messages: 617
Registered: June 2007
Karma: 0
Colonel
danpaul88 wrote on Thu, 08 January 2009 17:59

No, it's not about the amount of RAM in the computer, under a 32bit operating system a single program can only address up to 2gb of RAM, regardless of how much exists and is available to use.

Pathfind blockers are possibly another option, if you want to block off certain areas to the AI. Whether it will actually reduce the memory load enough to get you through the pathfind generation is anyone's guess, try it and see.


I dont know, how to use them. Even if I put them complete around the pathfind-generator, the numvber of sektors is the same Sad
Re: Out of memory while generating pathfind [message #366571 is a reply to message #366532] Thu, 08 January 2009 17:28 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
They are simply meant to block the AI from reaching certain areas of the map by acting as an invisible wall that exists only for the AI. This can be used to, for example, prevent the AI from entering buildings by placing pathfind blockers in all of the doorways into the building.

The number of sectors is based upon the size of the map, and possibly on it's height too, but I am not certain about that one. Hence why I suggested making the map smaller if possible.


http://steamsignature.com/card/1/76561197975867233.png
Re: Out of memory while generating pathfind [message #366617 is a reply to message #366571] Fri, 09 January 2009 01:58 Go to previous messageGo to next message
rrutk is currently offline  rrutk
Messages: 617
Registered: June 2007
Karma: 0
Colonel
I cannot make it smaller. It's nearly complete and for me it was a big deal.

It's a large (and high/low) map, because it has naval units - a deep sea for submarines (the Ren-Vehicles from SP) is sourrounding a large island.

[Updated on: Fri, 09 January 2009 01:59]

Report message to a moderator

Re: Out of memory while generating pathfind [message #366624 is a reply to message #366532] Fri, 09 January 2009 04:11 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
If you want you can pack your LevelEdit level folder into a .zip or .rar file and I will try and pathfind it for you, I have a 64bit OS with 4gb of RAM, so if yours nearly manages it on 2gb then 4gb should easily handle it. Depends if your OK with giving me the level edit files or not. If you want to do that and need somewhere to upload it send me a PM and I will set something up.

Or you could upload it to rapidshare or something, I assume they still work.


http://steamsignature.com/card/1/76561197975867233.png

[Updated on: Fri, 09 January 2009 04:12]

Report message to a moderator

Re: Out of memory while generating pathfind [message #366625 is a reply to message #366624] Fri, 09 January 2009 04:16 Go to previous messageGo to next message
rrutk is currently offline  rrutk
Messages: 617
Registered: June 2007
Karma: 0
Colonel
danpaul88 wrote on Fri, 09 January 2009 05:11

If you want you can pack your LevelEdit level folder into a .zip or .rar file and I will try and pathfind it for you, I have a 64bit OS with 4gb of RAM, so if yours nearly manages it on 2gb then 4gb should easily handle it. Depends if your OK with giving me the level edit files or not. If you want to do that and need somewhere to upload it send me a PM and I will set something up.

Or you could upload it to rapidshare or something, I assume they still work.


thx, if i finished the LE settings (needs a while, only renx work is nearly done) i will ask you for doing that! Smile

but, may be, underwhile we found an other solution....

i saw some older topics concerning this problem too.

[Updated on: Fri, 09 January 2009 04:19]

Report message to a moderator

Re: Out of memory while generating pathfind [message #366650 is a reply to message #366532] Fri, 09 January 2009 10:36 Go to previous messageGo to next message
Slave is currently offline  Slave
Messages: 607
Registered: December 2006
Karma: 0
Colonel
Box of the area's that don't need pathfinding with pathfind blockers to reduce the area leveledit has to render.
Re: Out of memory while generating pathfind [message #366661 is a reply to message #366650] Fri, 09 January 2009 11:45 Go to previous messageGo to next message
rrutk is currently offline  rrutk
Messages: 617
Registered: June 2007
Karma: 0
Colonel
i would have to set hundreds of pathfind-blockers one near one?

[Updated on: Fri, 09 January 2009 17:05]

Report message to a moderator

Re: Out of memory while generating pathfind [message #366665 is a reply to message #366532] Fri, 09 January 2009 12:35 Go to previous messageGo to next message
Slave is currently offline  Slave
Messages: 607
Registered: December 2006
Karma: 0
Colonel
Or create 1 suitable big one in gmax. Remove it when done.
Re: Out of memory while generating pathfind [message #366679 is a reply to message #366532] Fri, 09 January 2009 14:05 Go to previous messageGo to next message
Canadacdn is currently offline  Canadacdn
Messages: 1830
Registered: September 2005
Location: Temple of Nod
Karma: 0
General (1 Star)
PLECOS MASTER
Why not just block half of the level off with an invisible wall in RenX, pathfind that half, and then do the same for the other side?
Re: Out of memory while generating pathfind [message #366684 is a reply to message #366532] Fri, 09 January 2009 14:31 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
Because when you generate pathfind it discards any existing data before it starts, so you would end up with only half of the map processed.

http://steamsignature.com/card/1/76561197975867233.png
Re: Out of memory while generating pathfind [message #366715 is a reply to message #366532] Fri, 09 January 2009 17:01 Go to previous messageGo to next message
rrutk is currently offline  rrutk
Messages: 617
Registered: June 2007
Karma: 0
Colonel
what must be included in the area with blockers?

in the level-files for C&C_Islands you can see, that the area infront of GDI WF is completly blocked.

i tried the same thing with the airstrip, but then wayfinding doesnt work.

[Updated on: Fri, 09 January 2009 17:07]

Report message to a moderator

Re: Out of memory while generating pathfind [message #366725 is a reply to message #366532] Fri, 09 January 2009 19:47 Go to previous message
Slave is currently offline  Slave
Messages: 607
Registered: December 2006
Karma: 0
Colonel
The front of the weapons factory has pathfind blockers to create a bridge between the delivery pad, and the map.

The runlight square needs to be bridged, because pathfinding cannot be rendered on it. In this case a bridge is made with blockers. Sounds slightly odd, but blockers function as connectors here.

The airstrip does not need such thing.
Previous Topic: Reborn Conversion
Next Topic: Simple Cover Spot Problem
Goto Forum:
  


Current Time: Sun May 05 12:07:02 MST 2024

Total time taken to generate the page: 0.01269 seconds