Go Back   Project Reality Forums > Project Reality Mod > PR Bugs
PR Bugs : If you find a bug, please report it here.

Welcome to the Project Reality Forums! Join the Project Reality forums! Contact Us


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 12-06-2006, 09:11 PM   #1

Garabaldi's Avatar
Send a message via MSN to Garabaldi
Virtual Memory?

As I have 2GB of RAM, I have my paging file set to 0MB.

I am constatntly getting crashes, and freezes (which can only be stopped by alt-tabbing out of PR and using ctrl-alt-del to end BF2.exe) and more than a few times, I get a message saying Windows is low on virtual memory.

This has never caused any problems for me in any other games, it seems to be isolated to PR.

Anybody experience anything similar?

Garabaldi is offline
Old 12-06-2006, 09:44 PM   #2

DkMick's Avatar
I'm not exactly sure what the size should be - there's different opinions, but setting it to 0 is wasting a lot of RAM and I'm pretty sure that's your problem. I see a lot that it should be set to 2x your RAM, but that's not true in all cases, it depends on how you use your machine. I personally do have mine set to 2x my RAM and I've never had a problem at all (after setting it to 2x).


In the absence of orders, find something and kill it
DkMick is offline
Old 12-06-2006, 09:45 PM   #3

Smash-Crunch's Avatar
I thought your paging file used your systems memory, and not your ram?

Either way, 0 mb is WAY too low.
Smash-Crunch is offline
Old 12-06-2006, 09:53 PM   #4

DkMick's Avatar
A program asks for memory space when it runs, if you have 0 megs assigned to your page file, it dips into your RAM. Most of the time, programs ask for way more than they actually use, so they will end up eating a lot of your RAM. System memory is basically for storage etc, not really used running programs. But, I'm a programmer, not a hardware guru, so take that with a grain of salt (and a shot of tequilla).


In the absence of orders, find something and kill it
DkMick is offline
Old 12-06-2006, 10:39 PM   #5

Garabaldi's Avatar
Send a message via MSN to Garabaldi
http://www.extremetech.com/article2/...1679901,00.asp

It actually speeds disk access.

It's only in PR that Irun in to difficulties, though.

Garabaldi is offline
Sponsored Links
Old 12-06-2006, 10:39 PM   #6
Retired PR Developer

Ghostrider's Avatar
Quote:
Originally Posted by Garabaldi
As I have 2GB of RAM, I have my paging file set to 0MB.
I really have no clue as to why you would think that your system doesn't need the Page File (setting it at 0MB). Set it to what it should be and you won't get the problem anymore.

I won't go into the details of it, but your system will always need the PF.


-Ghost

Young Americans Doc: Link || Working for Love & World Peace

For those Interested in the E vs C Topic:
CSC Book || CSE Seminar || Polonium Halos

Some FAQs
CSC FAQ. || CSE Articles || Published Reports
Ghostrider is offline
Old 12-06-2006, 10:48 PM   #7

Garabaldi's Avatar
Send a message via MSN to Garabaldi
Quote:
Originally Posted by [R-DEV]Ghostrider
I really have no clue as to why you would think that your system doesn't need the Page File (setting it at 0MB). Set it to what it should be and you won't get the problem anymore.

I won't go into the details of it, but your system will always need the PF.


-Ghost
Really?

Quote:
Users of computers with a large amount of RAM have the ability to stop the operating system from pushing any data out into the paging file. This will allow for the faster memory management and memory access that is physically possible for your RAM. Reading and writing directly to the RAM is always significantly faster than having to use the page file. Reading and writing to the paging file requires multiple steps and that takes time. Moreover, reading from the hard drive is nowhere as fast as reading from the RAM.

If your system has a large amount of RAM, over 1 gigabytes, then you can consider disabling the paging file. If you have less than 1 gigabyte of RAM, do not even consider disabling the paging file or else you will be running into problems.

Garabaldi is offline
Old 12-06-2006, 11:07 PM   #8
Retired PR Developer

Ghostrider's Avatar
Quote:
Originally Posted by Garabaldi
Really?
Yes really. That information is innacurate in many ways. (And I thought I could get away without having to go into the details )

The only reason that small paragraph tells you that is because it assumes that your O.S is not running and/or going to run an application like battlefield.

The problem (overlooked by your paragraph) is that when you load a big enough program, the other programs that are using system resources which the big program would need/have to claim, are sent over to the PF. This will allow the primary application to use (and the O.S. to better manage) available memory and it's more efficient. The CTD is occurring when the O.S. tries to reserve memory space for the application and overwrites a memory location being used by another program (that couldnt be sent to the PF in order to free it) and this causes what's called an "Exception". This exception (which is not being handled by BF2, is being handled by the O.S...and the way it deals with it is that the application that generated the exception is killed.

No matter how much RAM you have (I also have 2GB) you will need the PF, because RAM has physical limits. That little paragraph assumes that you got 2GBs in order to run a Word Processing Application, lol

Hopefully, that was enough to convince you that your quoted paragraph is inaccurate. If it wasn't, then, I wish you luck


-Ghost

PS: You mind posting the source of that info?

EDIT: Changed my mind, please don't post the source

Young Americans Doc: Link || Working for Love & World Peace

For those Interested in the E vs C Topic:
CSC Book || CSE Seminar || Polonium Halos

Some FAQs
CSC FAQ. || CSE Articles || Published Reports
Ghostrider is offline
Old 12-06-2006, 11:10 PM   #9

Garabaldi's Avatar
Send a message via MSN to Garabaldi
Ahh, well thanks for englihtening me.

Source: http://www.extremetech.com/article2/...1679901,00.asp

Garabaldi is offline
Old 12-06-2006, 11:16 PM   #10
Retired PR Developer

Ghostrider's Avatar
Quote:
Originally Posted by Garabaldi
Ahh, well thanks for englihtening me.

Source: http://www.extremetech.com/article2/...1679901,00.asp
No problem.

On another note, if you read further down you'll see this:
Quote:
If you have less than 1 gigabyte of RAM, do not even consider disabling the paging file or else you will be running into problems.
The thing is that when you load a resource-hogging application...you end up with way less than 1GB...

I've had moments when playing BF2/PRM when I see the task manager and my PF graphic is at 1.53GBs of used memory.

Running FEAR (dont remember what map) my cousin's system had it at 1.73GBs. His system had 1GB...and that caused the O.S. to send more programs into the PF in order to give better performance to FEAR, etc..

It still lagged for him

On another note: Mission Accomplished, locked!


-Ghost

Young Americans Doc: Link || Working for Love & World Peace

For those Interested in the E vs C Topic:
CSC Book || CSE Seminar || Polonium Halos

Some FAQs
CSC FAQ. || CSE Articles || Published Reports
Ghostrider is offline
Sponsored Links
Closed Thread


Bookmarks

Tags
memory, virtual
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 09:30 PM.


Powered by: vBulletin. ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO.
All Content Copyright ©2004 - 2008, Project Reality.