project reality header
Go Back   Project Reality Forums > Project Reality Support > PR:BF2 Support
19 Nov 2017, 00:00:00 (PRT)
Register Forum RulesDeveloper Blogs Project Reality Members List Search Today's Posts Mark Forums Read
PR:BF2 Support Help and support regarding PR:BF2 installation and in-game issues

Reply
 
LinkBack Thread Tools Display Modes
Old 02-21-2012, 03:39 PM   #11
fredo456

fredo456's Avatar
Send a message via MSN to fredo456
Default Re: [32Bit XP/Vista/7] Fix memory errors / Allow applications to use > 2GB RAM

Thanks a lot, it will be very useful!

So basically, if I want that XP allows my programs to use 2.5Gb's out of four, I'm writin' /3GB /userva=2500 , I'm right?


EDIT: So I tried with that configuration but I'm experiencing the same problems, jerly windows moving/scrolling, laggy starting of the computer etc...

But are you sure that we can type /2.5GB in the boot.ini ?

RE-EDIT:

This time I wrote /2.5GB, the computer is working properly but 2.5Gb seems not enough as I CTD on Vadso City ....

I really don't know what to do...

"Foudre dans l'azur"
fredo456 is offline
Last edited by fredo456; 02-21-2012 at 04:25 PM..
Reply With Quote
Old 02-21-2012, 04:46 PM   #12
[R-COM]LITOralis.nMd
Lead Support Technician
Supporting Member
Default Re: [32Bit XP/Vista/7] Fix memory errors / Allow applications to use > 2GB RAM

Yes, that's the usual outcome,
I have never had a hardware setup that needed the switch,
not sure what to do , you have to experiment and find if any work.
/2.6GB
/2.7GB
etc.

[R-COM]LITOralis.nMd is offline Reply With Quote
Old 02-21-2012, 04:49 PM   #13
fredo456

fredo456's Avatar
Send a message via MSN to fredo456
Default Re: [32Bit XP/Vista/7] Fix memory errors / Allow applications to use > 2GB RAM

I tried with /2.7GB, CTD on vadso, I'll try 2.8 and 2.9

EDIT:

Still crashing on Vadso with /2.9GB , guess I'll have to buy Windows 7...

"Foudre dans l'azur"
fredo456 is offline
Last edited by fredo456; 02-21-2012 at 05:21 PM..
Reply With Quote
Old 02-22-2012, 01:19 AM   #14
SnipingCoward
Default Re: [32Bit XP/Vista/7] Fix memory errors / Allow applications to use > 2GB RAM

Quote:
Originally Posted by [R-COM]LITOralis.nMd View Post
You have to fine tune the use of /3gb or /2.5g and the uses of userva, ...
Available switch options for the Windows XP and the Windows Server 2003 Boot.ini files
scroll down to the /userva section and read those articles..
How to use the /userva switch with the /3GB switch to tune the User-mode space to a value between 2 GB and 3 GB is important.

Basically, if you drop to 2.5gb using the /2.5GB switch, you might have to manually change the /userva switch to work with PR and any other big games/programs you use.
I am pretty sure this "/2.5GB" thing is wrong.
I could not find any hint in your links that this would be a variable number. That and from knowing how I write command line parsers this "/3GB" is a toggle switch. Which means either you set it or you don't. Nothing in between.

Quote:
You can use the /userva=xxxx switch for more precise tuning of user and kernel virtual memory space in the Windows Server 2003 family. Use this new switch with the /3GB switch in the Boot.ini file to tune the User-mode space to a value between 2 and 3 gigabytes (GB), with the difference (3,072 less xxxx) being returned to Kernel mode. Note that xxxx is expressed in megabytes (MB).
Refers to the "/userva=xxxx" setting.

Furthermore:
Quote:
/userva
Use this switch to customize the amount of memory that is allocated to processes when you use the /3GB switch. This switch permits more page table entry (PTE) kernel memory but still maintains almost 3 GB of process memory space.

Note
Microsoft Product Support Services strongly recommends using a range of memory for the /USERVA switch that lies within the range of 2900-3030. This range is wide enough to provide a large enough pool of system page table entries for all currently observed issues. Usually a setting of /userva=2900 will provide close to the maximum available number of system page table entries possible./userva
Use this switch to customize the amount of memory that is allocated to processes when you use the /3GB switch...

This means you need to set "/3GB" and additionally to customize the memory structure you need to set /userva to a specific value as well.
Quote:
Originally Posted by fredo456 View Post
So basically, if I want that XP allows my programs to use 2.5Gb's out of four, I'm writin' /3GB /userva=2500 , I'm right?
Correct!




All that aside, I think you have got a broken driver or some broken hardware (RAM or GFX-Card). Your resolution resetting to something different indicates gfx driver issues. Mainly the actual driver is crashing. The slow scrolling in the browser originates from that. Have you seen the infamous "Display driver stopped responding and has recovered" message (not sure if XP has that one already)?
So the driver issues I would pin down to
  • the Drivers themselves (using beta ones?, run "chkdsk"),
  • the RAM (run memtests), and/or
  • the GFX card (can you replace it with an old/a friend's card?).
.
Checking the Event Viewer might give you some hints on whats really going on.

If you insist that all this is a RAM deficiency issue, run Task Manager and check the RAM usage. Process Explorer's "System Information" will give you a nice graph of your RAM usage. You can view the "Properties" of processes (i.e. BF2.exe) and see it's RAM usage (Performance tab). This can confirm your suspicions.

Got a PROBLEM? Check this: PR:BF2 Installation Guide

Got a common QUESTION? check here first: PR:BF2 FAQ, MUMBLE FAQ

"Hello, IT! ... Yes, have you tried turning it on and off again?"
SnipingCoward is offline Reply With Quote
Old 02-22-2012, 08:02 AM   #15
fredo456

fredo456's Avatar
Send a message via MSN to fredo456
Default Re: [32Bit XP/Vista/7] Fix memory errors / Allow applications to use > 2GB RAM

Well I didn't see any message from Windows about drivers, but I when I set /3GB this message usually appears: "Not enough space on the registery, windows will no longer install anything on the registery" something like that since I changed my PC configuration few days ago. I did a huge clean-up with CCleaner of the registery but the message still pops-up.

I don't have enough time to test PR right now but I can tell you that the physical memory panel of the task manager indicates a total of 3.66 GB, a disponibility of 3.02 GB and a system cache of 1.11 GB, I only running google chrome, don't know if it helps. And I'm not using the 3GB switch.

And I think that with my old computer I had a memory value much closer to 4GB, more than 3.66GB that for sure.
Chkdsk found no problems.

"Foudre dans l'azur"
fredo456 is offline
Last edited by fredo456; 02-22-2012 at 08:28 AM..
Reply With Quote
Old 04-22-2012, 08:11 AM   #16
pr|Zer0

pr|Zer0's Avatar
Default Re: [32Bit XP/Vista/7] Fix memory errors / Allow applications to use > 2GB RAM

Hello
Today, all of the blue, my editor crashed never to restart again. I mean I tried to open the editor and i get the "BF2memory.dll blah blah blah" error. Increased pagefile to 16Gb (Ihave 6Gb of RAM), used the 3Gb switch...no avail. Tried to open the editor with no resources loaded..nothing; just keep crashing on map load. Oh...and the last static added was the US hangar and also I was working to copy-paste a spline when the crash occured.
Now, heres the last dmp file for the editor(courtesy of win debugger):

Code:
Microsoft (R) Windows Debugger Version 6.2.8229.0 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.


Loading Dump File [F:\Jocuri Instalate\BF2\dump\BF2Editor_v0.1.237.0_2012-04-22_14.02.04.dmp]
Comment: 'Battlefield2 MiniDump. Address: 00731FBC (In Windbg type: .ecxr)
ASSERT INFORMATION:
[...]
[EOF]'
User Mini Dump File: Only registers, stack and portions of memory are available

Symbol search path is: *** Invalid ***
****************************************************************************
* Symbol loading may be unreliable without a symbol search path.           *
* Use .symfix to have the debugger choose a symbol path.                   *
* After setting your symbol path, use .reload to refresh symbol locations. *
****************************************************************************
Executable search path is: 
Windows XP Version 2600 (Service Pack 2) MP (2 procs) Free x86 compatible
Product: WinNt, suite: SingleUserTS
Machine Name:
Debug session time: Sun Apr 22 14:02:05.000 2012 (UTC + 3:00)
System Uptime: not available
Process Uptime: 0 days 0:16:14.000
................................................................
.........................................
This dump file has an exception of interest stored in it.
The stored exception information can be accessed via .ecxr.
(bb8.c20): Access violation - code c0000005 (first/second chance not available)
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for ntdll.dll - 
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for kernel32.dll - 
eax=00000000 ebx=00000000 ecx=00000011 edx=721c0dd8 esi=00000280 edi=00000000
eip=775ef8c1 esp=0018f0a8 ebp=0018f114 iopl=0         nv up ei pl zr na pe nc
cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00000246
ntdll!NtWaitForSingleObject+0x15:
775ef8c1 83c404          add     esp,4
Red code draw my attention. Anyway...any of those lines means anything to you?

pr|Zer0 is offline Reply With Quote
Old 04-22-2012, 05:02 PM   #17
MaSSive

MaSSive's Avatar
Default Re: [32Bit XP/Vista/7] Fix memory errors / Allow applications to use > 2GB RAM

Quote:
Originally Posted by fredo456 View Post
Well I didn't see any message from Windows about drivers, but I when I set /3GB this message usually appears: "Not enough space on the registery, windows will no longer install anything on the registery" something like that since I changed my PC configuration few days ago. I did a huge clean-up with CCleaner of the registery but the message still pops-up.

I don't have enough time to test PR right now but I can tell you that the physical memory panel of the task manager indicates a total of 3.66 GB, a disponibility of 3.02 GB and a system cache of 1.11 GB, I only running google chrome, don't know if it helps. And I'm not using the 3GB switch.

And I think that with my old computer I had a memory value much closer to 4GB, more than 3.66GB that for sure.
Chkdsk found no problems.

That is telling me that your system will inevitably crash in the future. You got something seriously wrong set there, and whatever you did restore it back to original. Especially message "Windows will not longer install anything in registry" means that whatever change you do to your system it will not be saved in registry and so it will be disregarded.

I found this while searching about it.

What to do about message windows low on registry space--The system has reached the maxium size allowed for the system part of the registry Additional storage requests will be ignored.

Edit: Link got messed up somehow cant find it again so here it is.

Quote:
Solution to msg "LOW ON REGISTRY SPACE"

FIRST: If you've already gotten this message, download NTREGOPT (http://www.larshederer.homepage.t-on.../erunt/faq.htm and run it. This will "compress" your registry and reduce the size greatly. This is the only "fix" I have found for this error. Using this program allows me to reboot and Windows still loads, if I do not use it, Windows does not load afterwards. I have not used the fix mentioned after this, and I don't think there is a point to using it. NTREGOPT works fine for me. Note that if this error message occurs on Windows XP or 2003 Server then the error is due to a currupted page file. These operating systems do not have a limit on the registry space. See the addendum at the end of this article.

Pls read this Article carefully and act with additional care (at your own risk) :
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

By default, RSL is 25 percent of the size of paged pool. Setting up the size of paged pool (see PagedPoolSize value of the Registry key HKEY_LOCAL_MACHINE\System\CurrentControlSet\Contro l\Session Manager\Memory Management) also affects the size of RSL.

You can also manually set the RSL:


1. Run the Registry Editor (REGEDT32.EXE).
2. Locate the key HKEY_LOCAL_MACHINE\System\CurrentControlSet\Contro l.
3. Modify the value RegistrySizeLimit (create it first it if it does not already exist) to reflect the desired size, in terms of bytes.

NOTE: RegistrySizeLimit must have a type of REG_DWORD, and a data length of 4 bytes, or it is ignored. If you set the value RegistrySizeLimit to less than 4 megabytes (MB), it is forced up to 4 MB. If you set it to greater than about 80 percent of the size of paged pool, it is set down to 80 percent of the size of paged pool (it is assumed that paged pool is always more than 5 MB). If you set it to 0xffffffff the maximum size allowable (or 80 percent of paged pool, up to 102 MB) is set.
4. Shut down and restart Windows NT for changes in RSL to take effect.
Note A system restart is required after the RSL has been increased either through the graphical user interface (GUI) or the registry, because this change does not happen dynamically. If you do not restart the system, you may experience the following event:
Event Type: Error
Event Source: Userenv
Event Category: None
Event ID: 1000
Date: date
Time: time
User: NT AUTHORITY\SYSTEM Computer: name
Description: RegLoadKey failed. Return value Insufficient system resources exist to complete the requested service for C:\Documents and Settings\ntuser.dat.
In Windows NT 4.0, and Windows NT 4.0, Terminal Server Edition, the maximum paged pool size is 192 MB, so RSL can be a maximum of 153.6 MB. For additional information, click the article number below to view the article in the Microsoft Knowledge Base: 142719 (http://support.microsoft.com/kb/142719/EN-US/) NT Reports Out of Resources Error When Memory is Available
In Windows 2000, the maximum paged pool size is approximately 370-400 MB, when you do not use the /3gb command-line switch (this makes the RSL greater than 296 MB). If you use the /3gb switch, these values remain unchanged from Windows NT 4.0. Additional Notes on RSL

RSL sets a maximum, not an allocation (unlike some other such limits in the system). Setting a large RSL will NOT cause the system to use that much space unless it is actually needed by the Registry. It also does NOT guarantee that that much space will be available for use in the Registry.

In Windows NT version 3.1, paged pool defaults to 32 MB, so the default RSL is 8 MB (enough to support approximately 5000 user accounts). In Windows NT 3.5, paged pool can be set to a maximum of 128 MB, so RSL can be no larger than about 102 MB (enough to support approximately 80,000 users; however, other system limitations might keep this number of users considerably lower).

RSL includes space in the hives themselves, as well as some of the Registry's runtime structures. Other runtime structures are either billed against standard quota, or are protected by size limits and serialization.

To ensure that you can always at least boot and edit the Registry if you set RSL incorrectly, quota checking is not turned on until after the first successful loading of a hive (that is, loading a user profile).

For all but a few domain controllers, RSL never needs to be changed.

The limitations imposed by RSL are approximate.
Solution Provided by MICROSOFT CORP.

Addendum (provided by drzcmajul)
The page file needs to be overwritten as it has been corrupted. Follow the following steps:
1. Enter System in control panel (classic view)
2. Click on the Advanced tab
3. Click the settings button under "performance"
4. Click the Advanced tab in Performance Settings
5. Click Change virtual settings
6. Choose No paging file on the settings and click Set
7. Exit and restart the computer.
8. Repeat the first five steps of these instructions.
9. Choose System managed size on the settings and click Set
10. When you exit you will be asked if you want to overwrite the previous page file. Allow this action.
11. Restart your computer. You will be rid of the error message. Also, your programs may run better.

@pr|Zer0

That is far more complex problem and is called a deadlock. Its also way over our tech support heads to deal with. Only thing I can tell you is to use 64bit OS, since you have 6gb of RAM and most of it is unused. And you actually need it to be able to run such applications that have high memory demands.


CATA4TW!
"People never lie so much as before an election, during a war, or after a hunt."
"God has a special providence for fools, drunks, and the United States of America."
― Otto von Bismarck
MaSSive is offline
Last edited by MaSSive; 04-22-2012 at 05:16 PM..
Reply With Quote
Old 04-22-2012, 05:19 PM   #18
pr|Zer0

pr|Zer0's Avatar
Default Re: [32Bit XP/Vista/7] Fix memory errors / Allow applications to use > 2GB RAM

thing is i have win7 x64
also installed fresh copy on my laptop and same thing...could be something with the map itself, or more likely with an object on it.
editor crashed when copying a spline..i can load other maps, but not mine...deleted last objects added today...no avail

pr|Zer0 is offline Reply With Quote
Old 04-22-2012, 05:20 PM   #19
MaSSive

MaSSive's Avatar
Default Re: [32Bit XP/Vista/7] Fix memory errors / Allow applications to use > 2GB RAM

Quote:
Originally Posted by pr|Zer0 View Post
thing is i have win7 x64
also installed fresh copy on my laptop and same thing...could be something with the map itself, or more likely with an object on it
Win7 64bit? Then whats this?

Quote:
Executable search path is: Windows XP Version 2600 (Service Pack 2) MP (2 procs) Free x86 compatible Product: WinNt, suite: SingleUserTS
Clearly says Win XP SP2 32bit.

But debugger is from WIn7 x64

Quote:
Microsoft (R) Windows Debugger Version 6.2.8229.0 AMD64
This is weird...thats why I said its way over our heads

Possible that youre running it in XP SP2 Compatibility mode? IF so dont, since it will cause RAM leaks and possibly cause this to happen.


CATA4TW!
"People never lie so much as before an election, during a war, or after a hunt."
"God has a special providence for fools, drunks, and the United States of America."
― Otto von Bismarck
MaSSive is offline
Last edited by MaSSive; 04-22-2012 at 05:26 PM..
Reply With Quote
Old 04-23-2012, 02:00 AM   #20
pr|Zer0

pr|Zer0's Avatar
Default Re: [32Bit XP/Vista/7] Fix memory errors / Allow applications to use > 2GB RAM

I, indeed, run the editor in compatibility mode, with XP SP2. Didnt think on compatibility thingy.
Will try that and come back.
Disabled compatibility and i get DIrect X9C error...apparently i have to instal 09c version or higher for the editor to run...and I have directX 11.
Like I said b4, i was running th editor on both machines for 1 year with no issue, and now all of a sudden i got editor memory error
Is there anyway to see if any object(or missing object/texture etc) is causing trouble?

pr|Zer0 is offline
Last edited by pr|Zer0; 04-23-2012 at 02:42 AM..
Reply With Quote
Reply


Tags
&gt, >, 2gb, 32bit, applications, draft, errors, fix, memory, ram, xp or vista or 7
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


LinkBacks (?)
LinkBack to this Thread: http://www.realitymod.com/forum/f27-pr-bf2-support/106709-32bit-xp-vista-7-fix-memory-errors-allow-applications-use-2gb-ram.html
Posted By For Type Date
???? ???????? ?? ??????? ???? - VBIOS This thread Refback 07-17-2017 07:01 AM
???? ???????? ?? ??????? ???? - VBIOS This thread Refback 11-28-2016 06:50 PM
Crash during save game and an auto save :: Crusader Kings II Dyskusje og?lne This thread Refback 01-24-2016 12:28 PM
Crash during save game and an auto save :: Crusader Kings II Discussions g?n?rales This thread Refback 08-17-2015 05:10 AM
Crash during save game :: Crusader Kings II Discussions g?n?rales This thread Refback 05-21-2015 07:30 PM
Crash during save game :: Crusader Kings II Dyskusje og?lne This thread Refback 02-15-2015 04:41 PM
???? ???????? ?? ??????? ???? - VBIOS This thread Refback 03-27-2014 03:57 AM
Forgotten Honor :: Topic review - Project Reality and win 7 problems This thread Refback 03-29-2013 01:19 PM


All times are GMT -4. The time now is 10:06 AM.


Powered by: vBulletin. ©vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.1
All Content Copyright ©2004 - 2015, Project Reality.