Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Server is unable to allocate memory from the system paged pool 1

Status
Not open for further replies.

deisehun

Programmer
Nov 24, 2006
182
IE
I have a Windows 2000 SP4 Server.

I have 2096MB of RAM and a paging file of 3.840Gb

I continually get the above error - Event ID 2020

I checked the Microsoft site and found the following fix


I did the first part and it worked fine for a few days, but when I edit the following key:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Memory Management

Value name: PagedPoolSize
Data type: REG_DWORD
Radix: Hex
Value data: 0xFFFFFFFF
Setting PagedPoolSize to 0xFFFFFFFF allocates the maximum paged pool in lieu of other resources to the computer.

It doesnt allow me to type over the new value (Even when logged in as Domain Admin), so I type the value in the Run bar and paste over, but the changes are not saved.

Can anyone help?

I have no issues editing other Reg keys.

Thanks..
 
You can't go higher than a value of 0xFFFFFFFF. Also you have a pagefile that is set to 3.840GB. The maximum pagefile per partition is 4096MB which is prob roughly equiv to what you have. The max pagefile on any partition is 4096MB. If you want to increase the pagefile size, create another pagefile on another partition or better another disk. Hope this helps.
 
I have a second disk with a Pagefile of 3072MB.

Any ideas why I cant change the reg key to 0xFFFFFFF?
 
if you translate 0xFFFFFFFF it is equal to 4294967295 or 4GB which is the maximum size of pagefile. This is by design and you can't change it to anything higher.
Before you start adding more pagefile space though, you may want to look at your applications since it seems that there is a memory leak somewhere.
Hope this helps.
 
Thanks - whats the best way to check for a memory leak?
 
Well quickest/dirtiest method is to check the Task Manager and select Show Processes from all users. The Mem usage column will indicate what process is taking up the most memory
Otherwise you can use one of the sysinternals tools (now part of Microsoft)like process monitor or the new debug diagnostics tool (again from MS) which should give you a snapshot of what process is doing what and how much of your resources are being taken up. Hope this helps.
 
The Server runs JDE, and under task manager, the oexplore.exe uses the most memory, but the processor is never over 25-30% and it has always been between say 2% & 25% usage throughout the day.

I've installed Procmon & Debug Diagnostic tool - but I'm not sure what I should be looking for...
 
The same error occured this morning.

I managed to edit the 'HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Memory Management' key to 0xFFFFFFFF, by opening REGEDT32 and not REGEDIT

I rebooted and got the following error:

Stop: C0006218 (Registry File failure) Registry cannot load Hive (file). \systemroot\system32\config\default or it's log or alternate. It is either corrupt, absent or not writable.

I went back to 'Last Known Good configuration' and the OS booted fine. A reboot normally sorts it for a few hours - I guess the reboot frees up the memory thats not being reallocated.

Can anyone help?

Thanks..
 
The processor is not the issue here. You have indicated that oexplore.exe is using the most memory..how much memory is it using? If it is chewing up all your available memory and consistently going to the pagefile you neee more memory.

Avoid making modifications to the pagefile each time this happens.

If you are sure you have adequate RAM to run your app, contact JD Edwards and find out if there are patches for the memory leak you are experiencing
Hope this helps.
 
The JDE exe's (oexplore.exe) are not using anymore memory than they used to though - there are nine JDE sessions open and they are using between 90,804k & 34,008k - this is the same level as always.

The Spoolsv.exe (Spooler Service) is using 51,796k - which seems very high to me.

I installed 'PageDefrag' from Sysinternals and it showed some fragmentation alright - or do you still think I'm going down the wrong track?
 
Let's see here you have;
9 JDE Sessions x Avg 62MB of RAM (approx based on your assessment) = 558MB RAM
Spooler Service = 51MB (not uncommon depending on activity)
That's 600+ MB right there as a snapshot just for application processes.

Take a look at the performance tab (again under task manager)
and check your stats for Available Physical Memory and Commit Change/Peak, this should give you a snapshot of where your current memory situation is at and how much was peak usage

You may want to enable the system monitor and setup counters for monitoring memory usage by taking a baseline after your next reboot and then let the monitor run to see if you indeed require more RAM

I know it's difficult to evaluate by the error you are receiving is consistent with not enough memory, so either you have an application leaking memory or you do need more RAM for this server
 
Physical Memory under Task Mgr stands @:

Physical memory - 2096660
Available - 901222
System Cache - ten mins ago it was 351064, now it's @ 364344

Commit Charge:

Total 1392280
Limit 8850624
Peak 2656956

Totals:

Handles 35473
Threads 1626
Processes 163

This server was rebooted about four hours ago.

Do these levels appear normal?
 
That seems fine (of course it was rebooted 4hrs ago), I would continue to monitor over the course of the day particularly and peak times to see what's going on (this is where system monitor comes in -- goto and click on the Knowledge base and perform a search on performance monitoring, you'll get a good explanation of all types of performance monitoring scenarios)
 
Spooler service upto 64MB and no users on system, no jobs in queue and no .spl files (or otherwise) in the Spool directory.

Seems very high to me.
 
Still getting 'Server is unable to allocate memory from the system paged pool'

Server performance as follows:

Physical Memory:
Total 2096660
Available 998744
System Cache 390192

Totals
Handles 29113
Threads 1468
Processes 146

Processor averaging about 2-3%

I also got the following when I tried to logon:

RegLoadKey failed. Return value Insufficient system resources exist to complete the requested service. for C:\Documents and Settings\username\ntuser.dat.

I rebooted about 10pm last night..
 
Check this as per MS start Windows Task Manager, and then click the Performance tab. At the lower right, locate the Kernel Memory (K) area, and then note the value for Paged. You may experience this problem in Microsoft Windows 2000 or in Microsoft Windows NT 4.0 when this value reaches approximately 160 megabytes (MB).
 
Found that earlier and it seems to have worked so far.

When I tried to edit 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management' most how to's were telling me to put 0xFFFFFFFF - and this entry corrupted my registry.

When I simply put in FFFFFFF - it appeared as 0xFFFFFFFF

It seems to have worked - will keep my fingers crossed

Thanks to all for their help
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top