Running out of memory on a 2GB machine!?!
Running out of memory on a 2GB machine!?!
Is anyone else having this problem? I have 2 GB of memory on my new T60p and when I get up to about 1.5 GB used as shown by the total commit charge in Windows task manager, programs start failing to run or failing to work properly. This is really frustrating and is probably down to Windows XP memory fragmentation although I'm not sure. Has anyone else experienced this and/or knows what to do about it if anything?
-- Bill
PS. I have 2GB allocated to the pagefile
-- Bill
PS. I have 2GB allocated to the pagefile
-
marlinspike
- Senior Member

- Posts: 548
- Joined: Mon Oct 30, 2006 8:58 am
- Location: Williamsburg, VA
-
marlinspike
- Senior Member

- Posts: 548
- Joined: Mon Oct 30, 2006 8:58 am
- Location: Williamsburg, VA
-
pianowizard
- Senior ThinkPadder

- Posts: 8368
- Joined: Tue Jun 28, 2005 5:07 am
- Location: Ann Arbor, MI
- Contact:
Thanks for the tip. I am surprised that pretty much all of the 44 processes running on my Dell desktop computer (with 2GB of PC3200 RAM and 3GB of paging file) are using some virtual memory, even though they add up to only 390MB. Why can't they restrict themselves to the "real" memory until it gets full? Doesn't the virtual memory slow things down?tomh009 wrote:turn on Virtual Memory Size and check that, too.
Microsoft Surface 3 (Atom x7-Z8700 / 4GB / 128GB / LTE)
Dell OptiPlex 9010 SFF (Core i3-3220 / 8GB / 8TB); HP 8300 Elite minitower (Core i7-3770 / 16GB / 9.25TB)
Acer T272HUL; Crossover 404K; Dell 3008WFP, U2715H, U2711, P2416D; Monoprice 10734; QNIX QHD2410R; Seiki Pro SM40UNP
Dell OptiPlex 9010 SFF (Core i3-3220 / 8GB / 8TB); HP 8300 Elite minitower (Core i7-3770 / 16GB / 9.25TB)
Acer T272HUL; Crossover 404K; Dell 3008WFP, U2715H, U2711, P2416D; Monoprice 10734; QNIX QHD2410R; Seiki Pro SM40UNP
I've added up all the processes in the Mem Usage and also in the VM Size columns and neither column adds up to "Total Commit Charge". Where's the unaccounted memory being used?
Would increasing my page file size from 2gb to 3gb (for 2gb of memory) help keep me from running out of resources when I reach 1.5 gb total commit charge?
Would increasing my page file size from 2gb to 3gb (for 2gb of memory) help keep me from running out of resources when I reach 1.5 gb total commit charge?
I have the paging file always deactivated because windows still puts stuff in the pagefile even if there is plenty of ram free.
On my X31 with 768MB I ran XP without Pagefile and had no probs with standard office and internet programs.
On my T60p with 2GB I can even run Counterstrike Source.
Windows is a lot snappier without a paging file. If you don't need it (Photoshop, Videoediting) turn it off completely and you will see the performance increase.
On my X31 with 768MB I ran XP without Pagefile and had no probs with standard office and internet programs.
On my T60p with 2GB I can even run Counterstrike Source.
Windows is a lot snappier without a paging file. If you don't need it (Photoshop, Videoediting) turn it off completely and you will see the performance increase.
T60p, 2613-HQU, 2,33GHz Merom, 2GB, 160GB, FireGL5250
-
marlinspike
- Senior Member

- Posts: 548
- Joined: Mon Oct 30, 2006 8:58 am
- Location: Williamsburg, VA
When you find yourself using up 1.5gb of ram, do you have Photoshop open? What are some of the programs you use? Also, at the end of the day do you shut down your computer or use standby?WPWoodJr wrote:I've added up all the processes in the Mem Usage and also in the VM Size columns and neither column adds up to "Total Commit Charge". Where's the unaccounted memory being used?
Would increasing my page file size from 2gb to 3gb (for 2gb of memory) help keep me from running out of resources when I reach 1.5 gb total commit charge?
T60 2007-7JU (15" Flexview, has a T60p mobo for the v5200, 4gb ram, changed HDD w/7200rpm 100gb, T7400 2.16ghz Core 2 Duo)
X201
X201
Two things:WPWoodJr wrote:I've added up all the processes in the Mem Usage and also in the VM Size columns and neither column adds up to "Total Commit Charge". Where's the unaccounted memory being used?
Would increasing my page file size from 2gb to 3gb (for 2gb of memory) help keep me from running out of resources when I reach 1.5 gb total commit charge?
1. Total Commit Charge is not the memory being used (so far as I know). I use FreeMem Pro, and looking at my ThinkPad right now (as I type away on my Desktop), FreeMem Pro tells me I have 180Mb free (of 768 Total) and System Information tells me I have the same 180Mb free. Meanwhile Commit Charge says I have used 434Mb and therefore have 334Mb free. So Commit Charge (which doesn't say it is the memory number) also isn't the memory number.
System Information lives in PF \ Microsoft Shared\MSInfo and is msinfo32.exe
2. Please run Task Manager and tell us what application is using all that memory. So far you haven't done that.
We are all trying to assist. ... JD Hurst
This happens during the day when I'm running lots of stuff at work. For instance, ACDSee, IE, Firefox, Lotus Notes, Windows Explorer, Groove, Google Desktop, PowerStrip, Onenote, Google Talk, Dragon Naturally Speaking, Photoshop, Sametime, Acrobat, VMWare, etc.marlinspike wrote: When you find yourself using up 1.5gb of ram, do you have Photoshop open? What are some of the programs you use? Also, at the end of the day do you shut down your computer or use standby?
In task manager under Mem Usage (which is the process working set), VMWare is the worst at 407mb, Firefox is the next worst at 320mb (I have many windows/tabs open), then photoshop at 152mb, then Naturally Speaking at 90mb, then ACDSee at 50mb, then IE at 50mb.
I never reboot if possible but use standby.
I simulated this condition last night by running the above programs. I'd like to know which resources are low so I can determine which programs are aggravating the problem the most, or take other action.
-
marlinspike
- Senior Member

- Posts: 548
- Joined: Mon Oct 30, 2006 8:58 am
- Location: Williamsburg, VA
How many photos are open at a time in Photoshop? I've found Photoshop (CS2 anyways, I forget about CS), doesn't accurately say how much ram it is using in the task manager, but when you look at how much ram is being used total by all software that figure is accurate. If you've got one photo open it's fine, but 20 open like I sometimes have and it starts eating ram.
Also, honestly, switch to IE 7 from Firefox. Firefox eats ram (i.e. just sitting there it uses more and more ram) as a way to make return trips to webpages faster...not something you want when having lots of stuff open.
Also, honestly, switch to IE 7 from Firefox. Firefox eats ram (i.e. just sitting there it uses more and more ram) as a way to make return trips to webpages faster...not something you want when having lots of stuff open.
T60 2007-7JU (15" Flexview, has a T60p mobo for the v5200, 4gb ram, changed HDD w/7200rpm 100gb, T7400 2.16ghz Core 2 Duo)
X201
X201
The total commit charge is essentially the total virtual memory in use. However, adding up the virtual memory for all the tasks in Task Manager leaves out one critical piece: the memory used by the OS kernel itself. That, too, is shown on the third page of the task manager. Adding that should give you a number fairly close to the total commit charge (memory-mapped i/o and a few other things are not shown in task virtual memory but count against commit charge nevertheless).WPWoodJr wrote:I've added up all the processes in the Mem Usage and also in the VM Size columns and neither column adds up to "Total Commit Charge". Where's the unaccounted memory being used?
Would increasing my page file size from 2gb to 3gb (for 2gb of memory) help keep me from running out of resources when I reach 1.5 gb total commit charge?
The memory VMWare uses is for itself *and* for the virtual machines in use. I allocate a max of 192Mb for any one machine (even though more would be desirable and in fact, more is the default). So 400 MB for VMWare and a running machine is probably reasonable.WPWoodJr wrote:<snip>
In task manager under Mem Usage (which is the process working set), VMWare is the worst at 407mb, Firefox is the next worst at 320mb <snip>
Firefox at 320Mb is downright unruly. IE consumes about 40Mb on my Windows machine, and Firefox runs fine in my Ubuntu machine where the whole Ubuntu setup is confined to 192 Mb.
It is starting to appear that Windows and your use of it is using all available resources. .... JD Hurst
I have nothing to really contribute to this topic, but I've had firefox well above 200mb one time.marlinspike wrote:How many photos are open at a time in Photoshop? I've found Photoshop (CS2 anyways, I forget about CS), doesn't accurately say how much ram it is using in the task manager, but when you look at how much ram is being used total by all software that figure is accurate. If you've got one photo open it's fine, but 20 open like I sometimes have and it starts eating ram.
Also, honestly, switch to IE 7 from Firefox. Firefox eats ram (i.e. just sitting there it uses more and more ram) as a way to make return trips to webpages faster...not something you want when having lots of stuff open.
Past: T60 , XPS M1330, Inspiron 1420 & 1520, Presario V2010US
Present: T61 , Acer D150, T61 7663 (Parents)
Screen swapped between the 7661 and 7663
Present: T61 , Acer D150, T61 7663 (Parents)
Screen swapped between the 7661 and 7663
I think this is not a good idea. See:ms wrote:I have the paging file always deactivated because windows still puts stuff in the pagefile even if there is plenty of ram free.
http://aumha.org/win5/a/xpvm.php
Which says:
Can the Virtual Memory be turned off on a really large machine?
Strictly speaking Virtual Memory is always in operation and cannot be “turned off.” What is meant by such wording is “set the system to use no page file space at all.”
Doing this would waste a lot of the RAM. The reason is that when programs ask for an allocation of Virtual memory space, they may ask for a great deal more than they ever actually bring into use — the total may easily run to hundreds of megabytes. These addresses have to be assigned to somewhere by the system. If there is a page file available, the system can assign them to it — if there is not, they have to be assigned to RAM, locking it out from any actual use.
Can you quote a source for that? It appears not to be true for memory sizes of 768 Mb or less. The original poster was dealing with more than that. Does your statement apply to these large sizes?claudeo wrote:It seems that XP still has a problem inherited from the 16-bit versions of windows, which is that it can run out of system resources (handles) before it runs out of memory. So, regardless of virtual memory settings, it is possible to get memory errors while some memory is still unallocated.
... JD Hurst
I'm beginning to think this is true. I have been playing with the "Consume" program from Windows Resource Kit which lets you consume all page file space or all physical memory. XP is handling these extreme conditions really well.claudeo wrote:It seems that XP still has a problem inherited from the 16-bit versions of windows, which is that it can run out of system resources (handles) before it runs out of memory. So, regardless of virtual memory settings, it is possible to get memory errors while some memory is still unallocated.
I played with "consume -kernel-pool" from the Windows Resource Kit. This command consumes all the available kernel memory (as displayed in the Performance tab of Task Manager). I think this might be it. The computer acts weird under these conditions, things just silently don't work. Will look into this more.
-
Plutoman15
- Posts: 3
- Joined: Thu Feb 23, 2006 9:45 am
Video hyper memory
If your video card uses hyper memory, that is where your ram is going. I have a desktop at home that had a cheap video card in it that used hyper memory and then switch to a top of the line card with independent memory and I saw a huge difference in my used ram (500mg or so).
My T60 uses hyper memory and my 2 gigs of ram gets used up quickly.
My T60 uses hyper memory and my 2 gigs of ram gets used up quickly.
I looked into this. The maximum pages that Firefox will remember in order to revisit them more quickly is 8 and it varies by how much memory you have. See the section on max_total_viewers in this document on reducing Firefox memory usage:marlinspike wrote:Also, honestly, switch to IE 7 from Firefox. Firefox eats ram (i.e. just sitting there it uses more and more ram) as a way to make return trips to webpages faster...not something you want when having lots of stuff open.
http://kb.mozillazine.org/Memory_Leak
This is probably not a significant factor in my Firefox memory usage. I have 45+ windows open with multiple tabs in each - that's why its using so much memory!
I've got the answer, and boy is it obscure. claudeo is correct, XP can run out of a certain resource before it runs out of memory, although I don't think this resource is inherited from 16-bit Windows.claudeo wrote:It seems that XP still has a problem inherited from the 16-bit versions of windows, which is that it can run out of system resources (handles) before it runs out of memory. So, regardless of virtual memory settings, it is possible to get memory errors while some memory is still unallocated.
It took me a long time and lots of testing to dig this up, almost everything you read on the Internet about XP memory problems is talking about the page file size and memory management. My guess is that many people are actually experiencing this problem: The system has run out of desktop heap. See http://support.microsoft.com/kb/184802
I have modified my "interactive" window station desktop heap upwards from 3072kb to 4096kb. I can now run over 100 programs with 2.3GB or more of Total Commit Charge and I still don't have any problems (whereas before problems would start at around 1.6GB Total Commit Charge (as viewed in Task Manager)).
During my testing I determined that my page file was too big, it was never being used past 25%. So, I reduced its size from 2GB to 1GB (minimum; 4GB max) - a nice side bonus to all this!
Here's another good article on desktop heap:
http://blogs.msdn.com/ntdebugging/archi ... rview.aspx
http://blogs.msdn.com/ntdebugging/archi ... rview.aspx
-
stephanpark
- Freshman Member
- Posts: 59
- Joined: Wed Dec 27, 2006 8:31 pm
- Location: CA, USA
I run a 3D app along with image browser and Photoshop Illustrator and have run out of memory resources. I resorted to only one task at a time after several forced restarts and lost work.
I had removed the paging file completely because I felt Windows may be stumbling between ram and the paging file and not an issue yet. But I'm game for better performance. Let me give this a shot.
I had removed the paging file completely because I felt Windows may be stumbling between ram and the paging file and not an issue yet. But I'm game for better performance. Let me give this a shot.
T21, T30, T60
-
- Similar Topics
- Replies
- Views
- Last post
-
-
Do the T430 and T440 have the old 7 digit machine types?
by serpico » Thu Apr 06, 2017 1:42 pm » in ThinkPad T430/T530 and later Series - 4 Replies
- 380 Views
-
Last post by serpico
Thu Apr 06, 2017 2:36 pm
-
-
-
How to look up specs for newer style machine type numbers?
by serpico » Fri Apr 07, 2017 10:27 am » in ThinkPad T430/T530 and later Series - 2 Replies
- 341 Views
-
Last post by serpico
Sun Apr 09, 2017 9:10 pm
-
-
- 4 Replies
- 2082 Views
-
Last post by dandreye
Sun Jan 08, 2017 1:29 pm
-
-
T420/s/i/si running Windows XP
by Whitieiii » Tue Jan 24, 2017 6:01 pm » in ThinkPad T400/410/420 and T500/510/520 Series - 3 Replies
- 874 Views
-
Last post by Whitieiii
Tue Jan 24, 2017 8:00 pm
-
Who is online
Users browsing this forum: No registered users and 13 guests





